LinuxMCE Forums

General => Installation issues => Topic started by: DeadPenguin on October 11, 2007, 10:47:17 pm

Title: Need help with 2 nic standalone core network setup
Post by: DeadPenguin on October 11, 2007, 10:47:17 pm
I installed LinuxMCE via cds - because I wanted a Core not core/hybrid.
Everything has went very smooth up until the point where I try to connect to the internet via a pc connected to Linuxmce. (the pc fails to open any sites.)

I have two nics - etho and eth1.
DCHP server is on.
I used the default network setup. 192.168.80.1 255.255.255.0
connected linuxmce devices get 192.168.80.2 - 192.168.80.169 (or whatever the number was) the rest of the network gets through 192.168.80.254.
internet ---> Verizon Modem (?) -->eth0
eth1 ---> switch -->Home LAN.

I don't have the VZ router connected yet so there is nothing else on the network serving DCHP.

The VZ dns servers look right at 4.2.2.4 and 4.2.2.5.

I just don't get networking. Can someone lend some help? Please speak slowly as its now apparent I am mildly retarded.

Regards,
Blair
Title: Re: Feeling Retarded - need help with 2 nic standalone core network setup
Post by: tekoholic on October 11, 2007, 11:00:09 pm
Wow...  My first thought would be to check and make sure that the Core, itself, can see the net?

Second:
Quote
I used the default network setup. 192.168.80.1 255.255.255.0
connected linuxmce devices get 192.168.80.2 - 192.168.80.169 (or whatever the number was) the rest of the network gets through 192.168.80.254.
OK, so this is how you have it SET UP, but have you checked to see that they are ACTUALLY receiving these IP addresses?

Personally, I found (with the CD-install, as well) that when I got it all installed, the NIC's were actually detected in the reverse of how I'd have guessed...  Have you tried to simply switch which one is connected to which end of the network?  Took me about 1/2-hour to figure this one out...

Anyhow, just thought I MIGHT be able to help.  Good luck, and let me know, either way, how it goes!!
Title: Re: Feeling Retarded - need help with 2 nic standalone core network setup
Post by: DeadPenguin on October 11, 2007, 11:57:34 pm
I did the swith interface after I couldn't get the pages to load. It didn't help. I updated and reloaded the router.

Thanks.
Regards,
Blair
Title: Re: Feeling Retarded - need help with 2 nic standalone core network setup
Post by: tekoholic on October 12, 2007, 12:52:16 am
Ouch...  OK, so if you upgraded the router, the Core MUST have a connection to the internet.  And, if you've done the switch, that eliminates the possible wrong-NIC issue...  Have you looked at the network configuration (Admin Page -> Advanced -> Network -> Network Settings), to verify the config?  As well, Network -> Firewall rules might be relevant...  Hmmm...  Are your MD's set up with DHCP?  I always forget, when I need to use static IP's, to set things back to DHCP when I'm done...

I'm trying, here...  Oh yeah, did you ever figure out whether the MD's were actually getting IP's in the proper ranges issued to them?  That would eliminate the static-IP issue...

By the way, there's no need to be "Feeling Retarded," as you stated it.  Look thru my own posts, or anyone else's, really...  We've all had our problems with the system, and we're all fixing them together.  Again, good luck, and let me know how it comes out!!
Title: Re: Feeling Retarded - need help with 2 nic standalone core network setup
Post by: DeadPenguin on October 12, 2007, 05:51:56 am
I am not very good with anything network related ergo the "retarded" comment.

I haven't made it to the MD set up since I can not even get the core right.

I am missing something and I can't figure out what.

Internet--> modem -->Linuxmce eth0
eth1--> gig switch --> LAN

that seems right to me. I was going to add my current router to the switch with the dchp turned off.

How do I check if I have a connection?
I know in regular linux I can use sudo ifconfig and check the setup. can I use ctrl alt F2  and do the same?

can I ping something?

can I change the network setup? maybe 10.0.0.1?
maybe back to what my net is now 192.168.1.1.
This shouldn't be this hard.
I can hybrid the core with the dvd and use one nic but that is not the way I WANT TO DO IT.

I've had a couple beers tonight so I am not touching anything. I will check back tomorrow>
thx tek.

Regards,
blair
Title: Re: Feeling Retarded - need help with 2 nic standalone core network setup
Post by: Zaerc on October 12, 2007, 02:15:09 pm
Can you paste the output of the "ifconfig" command in here (of both the core and the MD)?
Title: Re: Feeling Retarded - need help with 2 nic standalone core network setup
Post by: DeadPenguin on October 13, 2007, 09:03:16 pm
I couldn't cut and paste since while I have the LinuxMCE as the router I have no internet.

again here is how I have it set up: (not working)
Internet --> eth0 on LinuxMCE Core   (there was no modem for fios it was their power supplies) (It goes from ONT out side to power boxes to a RJ45 connection)
eth1 --> switch --> LAN

I did ctrl+Alt F2 to get a login and did "sudo ifconfig |more"
I entered my password and it gave me:
eth0 192.168.80.1 255.255.255.0
eth1 192.168.80.254 255.255.255.0

I had my Mint box running which will be my MD. I ran the same command and got:
eth0 192.168.80.253

Not sure how to look up my address on the mac pro I am typing this on.
I am not sure if this is an PPOe problem. I turned the DCHP server off on my router each time so I am pretty sure its not a DCHP conflict.
I have the FIOS router connected to the switch via port 1.
I turned on my laptop runnign XP and clicked run --> "cmd" --> "ipconfig"  and got the address 192.168.80.152.

Should I change the setup to:

Internet --> Fios Router (DCHP off) -->Linuxmce eth0
eth 1 --> switch --> LAN

???

Don't know if this matters or not but I wanted to stay away from directly going through the FIOS router since its 10/100 and mostly everything else on the network is 10/100/1000. Not sure if this would cause a bottle neck???

It seems like the LinuxMCE DCHP server is working. It just looks like PPOe is not working.

Help please!!!

Best Regards.
Blair

 
Title: Re: Feeling Retarded - need help with 2 nic standalone core network setup
Post by: Zaerc on October 14, 2007, 01:39:18 am
eth0 192.168.80.1 255.255.255.0
eth1 192.168.80.254 255.255.255.0

Ok, this is wrong.  In your setup eth0 should be an ip address handed out by your modem or staticly configured in the same network range as your modem.  And eth1 should be 192.168.80.1, running a DHCP server handing out ip addresses to the internal network.

Title: Re: Feeling Retarded - need help with 2 nic standalone core network setup
Post by: tekoholic on October 14, 2007, 04:00:30 pm
Should I change the setup to:

Internet --> Fios Router (DCHP off) -->Linuxmce eth0
eth 1 --> switch --> LAN

???

Don't know if this matters or not but I wanted to stay away from directly going through the FIOS router since its 10/100 and mostly everything else on the network is 10/100/1000. Not sure if this would cause a bottle neck???

Personally, this is EXACTLY how I'd set it up, because your actual connection to the internet WILL ALWAYS be the bottle-neck on your network.  You probably don't have any more than about 10M/1.5M to the Internet, DEFINITELY not more than 100M/100M, so your router can handle it's position there, just fine.
Title: Re: Feeling Retarded - need help with 2 nic standalone core network setup
Post by: DeadPenguin on October 16, 2007, 05:52:19 am
Thank you Zaerc and tek for the help.

Got it setup as follows:

internet cloud --> fios router (192.168.1.1) --> eth0 (192.168.1.2)
eth1 (192.168.80.1) --> switch --> LAN

I have internet access on all computers connected to my home LAN. thanks  :)

I have the DCHP still on in the router. Not sure if that is right or not, but without it the wireless is down.
Not sure how my Nokia 770 is going to work as orbiter if its on the 192.168.1.XX network ???


Best Regards,
Blair

Title: Re: Feeling Retarded - need help with 2 nic standalone core network setup
Post by: teedge77 on October 16, 2007, 03:22:04 pm
is your fios router also your wireless access point?
Title: Re: Feeling Retarded - need help with 2 nic standalone core network setup
Post by: tekoholic on October 16, 2007, 11:24:34 pm
I have the DCHP still on in the router. Not sure if that is right or not, but without it the wireless is down.
Not sure how my Nokia 770 is going to work as orbiter if its on the 192.168.1.XX network ???

Wow, hadn't thought about the double-NIC setup requiring wireless to be attached to the internal NIC...  Wonder if setting up the External Access (in the web-admin interface) would fix it???  When I had an almost identical setup, but with only single-NIC on the Hybrid, router with DHCP disabled worked just fine, because the Hybrid picked up the request for DHCP, and answered it.  However, it's quite often reported that single-NIC setups cause more trouble than they're worth...

At this point, on a dual-NIC Hybrid, here's my own setup:

DSL Modem (acquires public IP, seen as 192.168.1.1 internally) --> ETH0 on Hybrid (takes 192.168.1.2 from modem) --> ETH1 --> wifi AP --> 2 wired systems, an additional AP, and a switch for the storage-cluster in garage

I don't know much about FiOS, so I don't know if your router actually handles auth and such...  If so, you'll probably need to disable the wireless radio on the FiOS, and add a cheap wifi AP to your ETH1...

Sorry about my misinformation, before...  I assumed (We all know what that means, right??) that your's was like a standard DSL or Cable system.  I actually like the sound of FiOS, now that I've looked into it more, but it'll be another decade before it's available here...

Good luck...  I hope you're up and running soon!!
Title: Re: Feeling Retarded - need help with 2 nic standalone core network setup
Post by: DeadPenguin on October 17, 2007, 02:03:01 am
teedge - my fios router has wireless and is the only wireless AP in my network.

tek - kicking myself for selling my wrt54g on Ebay for almost nothing when I got my fios wireless router.

I can turn my radio off on the Fios router and add an wireless AP off the switch.

Again thank you for all the help. I have been through the FAQ's guides etc. and I just couldn't figure this out.

Best Regards,
Blair


Title: Re: Need help with 2 nic standalone core network setup (SOLVED)-thanks
Post by: pixelator on October 17, 2007, 11:22:22 pm
first a few questions.
1. your fios router is connected directly to your Core (eth0)..correct? (yes/no)

2. your core (eth1) is connected to your LAN...?? (yes/no)

3. all internet bound traffic is passing (or should be) through the core? (yes/no)

4. is the core managing DHCP? (yes/no)

5. if it is, did you disable DHCP on the fios router?

6. can you access internet from the core? (try a ping command from the terminal)

I have a few ideas for a solution based on what I understand of your situation.
Title: Re: Need help with 2 nic standalone core network setup (SOLVED)-thanks
Post by: DeadPenguin on October 18, 2007, 12:49:42 am
first a few questions.
1. your fios router is connected directly to your Core (eth0)..correct? (yes/no)
YES

Quote
2. your core (eth1) is connected to your LAN...?? (yes/no)
YES its actually eth1 -->switch --> LAN

Quote
3. all internet bound traffic is passing (or should be) through the core? (yes/no)
YES - i think Except for wireless traffic on the home LAN goes through the 192.168.1.XXX  The gateway is the fios router at 192.168.1.1.

Quote
4. is the core managing DHCP? (yes/no)
YES - For the internal network. Anything attached to the switch.

Quote
5. if it is, did you disable DHCP on the fios router?
NO When I did i lost internet.

Quote
6. can you access internet from the core? (try a ping command from the terminal)
YES i did "ping google.com" and it worked. As a side note whats the command to get it to ping for a couple times then stop.

Quote
I have a few ideas for a solution based on what I understand of your situation.
Thank you I look forward to hearing them.

Where have i seen you before? you on LQ? or was it Pluto?
Thanks for taking the time to help.

Best Regards,
Blair
Title: Re: Need help with 2 nic standalone core network setup (SOLVED)-thanks
Post by: pixelator on October 18, 2007, 05:54:03 pm
Ok..
If your wireless nodes are connecting directly to your fios router, I assume they also can connect to the internet?

Technically, everything behind your VZ router is the LAN. The VZ router seperates the WAN and LAN. This is a bit different from cable and DSL services which use a modem and allow you to seperate that from your LAN. The LMCE dual nic setup assumes there is an internal (lan) interface and external (wan) interface that it will route between.
Because your core is techically on the LAN, you cannot route between the external (eth0) and internal (eth1) interfaces because they are on the same subnet/netmask.

Concerning your set up, you will either need to place the core in front of the VZ router (wan side) to use the dual nic setup [this will require you to contact VZ and get their WAN connection info - I believe FIOS still uses PPPOE for their inet services], or connect the eth1 interface directly to your LAN switch and disable eth0 (external interface).

The other thing that could be an issue with VZ is that they also route their On-Demand and Guide Data for TV services through their router [at least on the vz fios installs I have seen] and I don't know hoe that will effect the placement of the core in front of the VZ router. Logically, if the network is set up correctly, this should not be an issue.

One of the quirks with LMCE managing DHCP and not being the gateway is that it will also tell network nodes to use it [core] as the DNS server, and the Default gateway so you will need to make some changes to the network files in lmce and possibly manually apply the default GW and DNS info in the network nodes.

It is easier to suggest a solution using a diagram than try to explain it here.
I'll see about designing one and post it here.

Quote
Where have i seen you before? you on LQ? or was it Pluto?
I spent time on pluto for a while before switching to LMCE.
Title: Re: Need help with 2 nic standalone core network setup
Post by: DeadPenguin on October 19, 2007, 07:50:29 am
Pixelator thanks. I appreciate the help.

When I get the PPOE info from VZ. (the techs are actually pretty decent) What do I do with the info?  ???

VZ has a COAX running to my/their router.
VZ phone goes from ONT and connects to my rj11 home run.

Here is the diagram I did to make setup a little easier on myself. But when I setup this way I lose internet. Because I am not connecting to VZ.

(http://www.gliffy.com/pubdoc/1277993/M.jpg)

I am excited to get this working.

Regards,
Blair


Title: Re: Need help with 2 nic standalone core network setup (SOLVED)-thanks
Post by: teedge77 on October 19, 2007, 03:50:14 pm
are you using the FIOS router as the gateway still? what is dhcp handing out for dns, gateway and ip addresses and subnet mask? also what are the addresses for linuxmces (which ones 192.168.1.1?) nics and the fios router ip address?

in your picture you have linuxmce as the gateway to the internet. obviously it still has to go through the fios router so your diagram is a little confusing. theres no way to get to the internet without going through the fios router. if you have dhcp setting linuxmce as the gateway, you still need to have linuxmce using the fios router as its gateway. then itll go

MD/PC > LinuxMCE > FIOS > Internet


what is it that keeps you from plugging the external linuxmce nic directly to the FIOS router?
Title: Re: Need help with 2 nic standalone core network setup (SOLVED)-thanks
Post by: pixelator on October 19, 2007, 08:18:12 pm
Looking at your diagram, I don't see how that is working.
The VZ Fios router needs to be your gateway routing between the LAN and WAN (unless you can get the core to manage PPPOE to Verizon)

The VZ FIOS router of choice is the actiontec MI-424-WR which has one WAN port and 4 LAN ports (build in switch).
So... The easiest choice for you (in my opinion) would be to use the the Core as your PPPOE gateway, and place the VZ router on your LAN as a wireless AP (assuming verizon will allow the use of their equipment this way). Deploying this method, you would need to disable the default routing nature of the VZ Router and use it a simple switching device with wireless networking enabled. Check the documentation of the router for that info.

Using Dual NICS
(http://www.edwardstafford.com/graphics/forumPics/solution5.png)

Another option if you are unable to use the VZ router this way is to use only one NIC on the core and place it on you LAN. You can still allow the Core to manage you DHCP this way as well.

Using Single NIC
(http://www.edwardstafford.com/graphics/forumPics/solution4.png)
Title: Re: Need help with 2 nic standalone core network setup (SOLVED)-thanks
Post by: teedge77 on October 19, 2007, 08:20:58 pm
oh yeah...i forgot you were using the fios router for your wireless too. so having it in front of the linuxmce would keep you from using them on the regular internal network that everything else was on.
Title: Re: Need help with 2 nic standalone core network setup (SOLVED)-thanks
Post by: pixelator on October 19, 2007, 08:42:42 pm
oh yeah...i forgot you were using the fios router for your wireless too. so having it in front of the linuxmce would keep you from using them on the regular internal network that everything else was on.

Not true. If the VZ Router was being used as the WAN gateway then anything on the LAN side can communicate. Remember the VZ router is also capable of LAN switching (built in 4 port wired switch and wireless). You can put everything behind the VZ router and make it work..BUT... if you do it this way, then you will only be able to make use of a single NIC on the core because the core will not be doing the WAN/LAN routing.
Title: Re: Need help with 2 nic standalone core network setup (SOLVED)-thanks
Post by: teedge77 on October 19, 2007, 08:56:13 pm
i meant as far as linuxmce handing out dhcp for them. youd have to use dhcp with the fios router and have it route through the linuxmce box. hed need a different subnet for the wireless stuff then. that would make things more difficult for him. also, unless he turned off the firewall completely, he would have a lot of trouble connecting anything to anything through the linuxmce firewall to the rest of the internal network. unless he used a single nic install and everything was connected behind the fios. the way he had the diagram he wanted an internal and external. so if he used the external to connect to the fios router and the internal gave out the dhcp and ran the rest of the network that way, hed have more work to get it to route between the external and internal networks. is that right or am i missing something?
Title: Re: Need help with 2 nic standalone core network setup (SOLVED)-thanks
Post by: pixelator on October 19, 2007, 10:10:59 pm
i meant as far as linuxmce handing out dhcp for them. youd have to use dhcp with the fios router and have it route through the linuxmce box.

No. everything is on the same LAN, same network, same subnet. he can disable DHCP at the FIOS router and allow the Core to do it (single nic core behind the fios router)

Quote
hed need a different subnet for the wireless stuff then. that would make things more difficult for him.

No different subnet needed. I think your over-complicating this.

Quote
also, unless he turned off the firewall completely, he would have a lot of trouble connecting anything to anything through the linuxmce firewall to the rest of the internal network.


If the Core is set up behind the VZ router, then nothing will be routed through the core and the Core fire wall is taken out of the picture.

If he is going to set it up with the Dual NIC option then the Core will replace the VZ router as the WAN gateway. The VZ router would then be recommissioned as nothing more than a wireless AP/LAN switch on his LAN.

Quote
unless he used a single nic install and everything was connected behind the fios. the way he had the diagram he wanted an internal and external.


I'm not sure he "wanted" it that way or is simply not aware of how to properly set it up.
DeadPenguin said: "I am not very good with anything network related ergo the "retarded" comment."

Either way it won't happen within the context of LMCE unless he uses the Core to replace the VZ router as the WAN gateway.
There is no benefit to having dual nics in the core if it resides entirely on the LAN side.
The use of dual nics assumes that the core is also being used as the WAN gateway.


Quote
so if he used the external to connect to the fios router and the internal gave out the dhcp and ran the rest of the network that way, hed have more work to get it to route between the external and internal networks. is that right or am i missing something?

Again the Dual NIC assumes there is a WAN and LAN interface which LMCE will route between. But because as it stands now, the VZ router is managing the routing between the wan and lan, there is no need for the dual nic on the core. You cannot have a WAN and LAN interface on the same network. The external interface cannot have an internal IP and cannot be on the same subnet/netmask.
Title: Re: Need help with 2 nic standalone core network setup (SOLVED)-thanks
Post by: teedge77 on October 19, 2007, 10:50:24 pm
Quote
No. everything is on the same LAN, same network, same subnet. he can disable DHCP at the FIOS router and allow the Core to do it (single nic core behind the fios router)

i was assuming he still wanted a dual nic setup. with a dual nic setup, with the fios doing the wan and the external linuxmce nic connected to the fios, he would use have to use a different subnet on both the wireless stuff and the stuff on the linuxmce internal network right? if it was on the same subnet it would get as far as linuxmce and linuxmce would say it must be on here but i dont see it so i wont forward it anywhere else. is that wrong?

Quote
If the Core is set up behind the VZ router, then nothing will be routed through the core and the Core fire wall is taken out of the picture.

If he is going to set it up with the Dual NIC option then the Core will replace the VZ router as the WAN gateway. The VZ router would then be recommissioned as nothing more than a wireless AP/LAN switch on his LAN.

i didnt realize that the fios used pppoe. i was thinking that hed have to use the fios to connect ....he said there was a cable...thought he meant something other than cat5 type. i do see what youre saying about the fios being just a wap. sorry...didnt know you didnt have to use the fios router for the wan.


so i was misunderstanding how he should set it up cause i was thinking that the fios router was necessary but apparently not. the fios router doesnt work as a type of modem also? does he have a fios router and some sortof modem also? if he uses linuxmce as the wan gateway what does the wan side connect to?





Title: Re: Need help with 2 nic standalone core network setup (SOLVED)-thanks
Post by: pixelator on October 20, 2007, 05:37:51 pm

i was assuming he still wanted a dual nic setup. with a dual nic setup, with the fios doing the wan and the external linuxmce nic connected to the fios, he would use have to use a different subnet on both the wireless stuff and the stuff on the linuxmce internal network right? if it was on the same subnet it would get as far as linuxmce and linuxmce would say it must be on here but i dont see it so i wont forward it anywhere else. is that wrong?

No, not entirely wrong. But my argument is that doing so will un-necessarily complicate the network and setting it up that way is beyond the intention of LMCE.

Quote
i didnt realize that the fios used pppoe. i was thinking that hed have to use the fios to connect ....he said there was a cable...thought he meant something other than cat5 type. i do see what youre saying about the fios being just a wap. sorry...didnt know you didnt have to use the fios router for the wan.

I am 99.9% sure it does use PPPOE. The cable (non-ethernet/cat5) connected to the fios router is for other fios bundled services. TV/Phone - but these are seperate networks and AFAIK do not crossover to the ethernet network.


Quote
so i was misunderstanding how he should set it up cause i was thinking that the fios router was necessary but apparently not. the fios router doesnt work as a type of modem also? does he have a fios router and some sortof modem also? if he uses linuxmce as the wan gateway what does the wan side connect to?

If he is able to assign PPPOE to the Core, then he should be able to put that in place of the VZ router for WAN/LAN routing. As far as a "modem" the answer is no... The actiontec is an enterprise class router built to spec for VZ, there is no modem involved with FIOS. FIOS does not require the signal conversion that a modem provides.
Title: Re: Need help with 2 nic standalone core network setup (SOLVED)-thanks
Post by: teedge77 on October 20, 2007, 06:56:13 pm
oh i see. thats interesting. thanks.
Title: Re: Need help with 2 nic standalone core network setup
Post by: pixelator on October 23, 2007, 12:06:08 am
Pixelator thanks. I appreciate the help.

When I get the PPOE info from VZ. (the techs are actually pretty decent) What do I do with the info?  ???


to get PPPOE set up:

run pppoeconfig from a terminal and follow the on-screen instructions.
It will ask for your account name and password provided by VZ.

Then there is the small tricky part of manually editing the MySql table containing the interface connection info.
First you need to get into mysql using a terminal and use this command
Code: [Select]
mysql use pluto_main
then display the contents of the Device_DeviceData table to get your current network settings stored in LMCE by applying the following command at the mysql prompt:
Code: [Select]
select * from Device_DeviceData where FK_Device=1 and FK_DeviceData=32;
My results looked like this
Code: [Select]
+-----------+---------------+-------------------------------------------+--------+-----------+----------+------------+----------------+--------------+
| FK_Device | FK_DeviceData | IK_DeviceData                             | psc_id | psc_batch | psc_user | psc_frozen | psc_mod        | psc_restrict |
+-----------+---------------+-------------------------------------------+--------+-----------+----------+------------+----------------+--------------+
|         1 |            32 | eth0,dhcp|eth1,192.168.15.2,255.255.255.0 |   NULL |      NULL |     NULL |          0 | 20070405221738 |         NULL |
+-----------+---------------+-------------------------------------------+--------+-----------+----------+------------+----------------+--------------+

the important piece here is the IK_DeviceData field value:   eth0,dhcp|eth1,192.168.15.2,255.255.255.0

this field contains the network interface info that LMCE uses. Each interface is seperated by a "|" character.
for my two interfaces the field contains "eth0,DHCP" and "eth1,192.168.15.2,255.255.255.0 "
The trick is to make sure you change the interface info for you external interface to "ppp0"
in my case, the external interface was eth0 so I needed to change the field value from "eth0,dhcp|eth1,192.168.15.2,255.255.255.0", to "ppp0,dhcp|eth1,192.168.15.2,255.255.255.0"

note the difference between eth0 and ppp0.
To make this change in the mysql table, you would execute the sql command
Code: [Select]
update Device_DeviceData set IK_DeviceData="ppp0,dhcp|eth1,192.168.15.2,255.255.255.0" where FK_Device=1 and FK_DeviceData=32;
then if you execute the sql command
Code: [Select]
mysql> select * from Device_DeviceData where FK_Device=1 and FK_DeviceData=32;
+-----------+---------------+-------------------------------------------+--------+-----------+----------+------------+----------------+--------------+
| FK_Device | FK_DeviceData | IK_DeviceData                             | psc_id | psc_batch | psc_user | psc_frozen | psc_mod        | psc_restrict |
+-----------+---------------+-------------------------------------------+--------+-----------+----------+------------+----------------+--------------+
|         1 |            32 | ppp0,dhcp|eth1,192.168.15.2,255.255.255.0 |   NULL |      NULL |     NULL |          0 | 20070520193528 |         NULL |
+-----------+---------------+-------------------------------------------+--------+-----------+----------+------------+----------------+--------------+

you will notice that eth0 has been updated to ppp0 in the IK_DeviceData field

That's it.
Title: Re: Need help with 2 nic standalone core network setup
Post by: Zaerc on October 23, 2007, 04:56:18 pm
To make this change in the mysql table, you would execute the sql command
Code: [Select]
update Device_DeviceData set IK_DeviceData="ppp0,dhcp|eth1,192.168.15.2,255.255.255.0" where FK_Device=1 and FK_DeviceData=32;

I think it would probably be easier to change that value in the web-admin, simply lookup the core in the devices tree and under "Device data" you should find a field called "Network Interfaces", change eth0 to ppp0 there and Bob's your uncle.
Title: Re: Need help with 2 nic standalone core network setup
Post by: pixelator on October 23, 2007, 09:55:35 pm

I think it would probably be easier to change that value in the web-admin, simply lookup the core in the devices tree and under "Device data" you should find a field called "Network Interfaces", change eth0 to ppp0 there and Bob's your uncle.


Good call Zaerc. That's good to know.
I wasn't even aware that it could be done that way. To be honest, you'd need a PhD to understand all the available details and settings you can find in the admin pages.  ;D

Either way, ""Six Of One, A Half Dozen Of The Other"... but it is probably safer to do it from the web-admin.
Title: Re: Need help with 2 nic standalone core network setup (SOLVED)-thanks
Post by: DeadPenguin on October 24, 2007, 07:41:58 pm
FANTASTIC!!!!  ;D   Pixelator thanks.

I actually figured out the "sudo ppoeconfig" part on my own. I just couldn't figure out why I was still not getting internet on connected computers. (I was getting the an ip from VZ on PPP0 and I could "ping google.com" from the router but nowhere else.

Thanks for the how-to on how to change dchp to PPOe. Thanks Zaerc for the other option.

One question:  Do I have to run "pon dsl-provider" everytime I reboot or shutdown the server?

You guys have been a great help. I hope to get a chance tonight to try again.

Anyone know if that COAX connection is important to VZ?  I was on with a tech last night for an hour trying to fix my connection and he didn't give me a definitive answer.

For PPOE VZ said the username was either verizonfios or fios and the password was whatever I picked it to be.

Best Regards,
Blair
Title: Re: Need help with 2 nic standalone core network setup (SOLVED)-thanks
Post by: pixelator on October 25, 2007, 01:04:54 am
FANTASTIC!!!!  ;D   Pixelator thanks.

Happy see your making progress.  :D

Quote
Do I have to run "pon dsl-provider" everytime I reboot or shutdown the server?
unfortuniately, Yes... unless you edit a networking file or two.

If pppoe does not start automatically, you can try editing your /etc/network/interfaces and make sure that 'pppoe maintained' lines are before 'auto dsl-provider' similar to
Code: [Select]
# added by pppoeconf
auto eth0
iface eth0 inet manual
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf

auto dsl-provider
iface dsl-provider inet ppp
provider dsl-provider

If that does not work, you can try to edit /etc/rc.local, and before the last line ("exit 0"), add:

Code: [Select]
ifconfig eth0 up
pon dsl-provider

Word of caution: before you make any changes to these files, make a copy/backup of them in case you need to restore them. After you make any changes, remember to restart networking.
Title: Re: Need help with 2 nic standalone core network setup (SOLVED)-thanks
Post by: pixelator on October 25, 2007, 03:44:03 am
Quote
Anyone know if that COAX connection is important to VZ?  I was on with a tech last night for an hour trying to fix my connection and he didn't give me a definitive answer.

The coax on the router afaik is used to provide channel/guide data and video on demand back to your set-top-box. Verizon has a few different ways of setting up the TV services and connections, so I can only speculate on your specific setup.

FIOS TV is delivered to your STB via coax directly from the ONT. It (most likely) also has a second coax connection coming from the router where it gets/downloads the guide data. If you are making use of the guide data feature, then you would need to keep the coax from the router to the stb in place.

if you move the VZ router behind the LMCE core, you should disable the wan routing features of the VZ router, and run it as a simple lan switch (4 ports built in). As long as your lan is properly set up, the STB will be able to download the guide data through the VZ router (now switch).

Keep us posted..  ;)

Title: Re: Need help with 2 nic standalone core network setup
Post by: DeadPenguin on October 26, 2007, 05:20:07 am
I changed eth0 to ppp0 in Pluto-Admin.
I am getting this when I view IP Adresses.

------------------------------------------------------------------
EXTERNAL_IFACE     ppp0
EXTERNAL_MAC    
EXTERNAL_IP    inet addr:71.183.23.169 P-t-P:10.6.30.16 Mask:255.255.255.255
EXTERNAL_NETMASK    255.255.255.255
EXTERNAL_DHCP    0
INTERNAL_IFACE    eth1
INTERNAL_MAC    00:1A:92:7B:E7:8D
INTERNAL_IP    192.168.80.1
INTERNAL_NETMASK    255.255.255.0
GATEWAY    0.0.0.0
DNS1    71.242.0.12
DNS2    71.250.0.12
----Addresses modified to protect my Core----------------------

I am on my core typing this, but I can't view web pages on any other computer in the LAN.

I don't know how oto designate the gateway or what address I should use.

I really don't like networking....
 >:(

Regards,
Blair
Title: Re: Need help with 2 nic standalone core network setup
Post by: nascarfan1956 on October 26, 2007, 07:24:01 pm
255.255.255.255 for the external net mask looks odd to me.  That mask would result in a subnet of 0 IP addresses.  That might have something to do with what's going on here.  Is that subnet mask being provided through DHCP from your ISP or has it been configured manually?   Also the gateway address of 0.0.0.0 is invalid.  It should be the IP address of your internal network's DHCP server IP.
Title: Re: Need help with 2 nic standalone core network setup
Post by: pixelator on October 26, 2007, 08:24:20 pm
255.255.255.255 for the external net mask looks odd to me.  That mask would result in a subnet of 0 IP addresses. 

255.255.255.255 is a valid host route used with ppp (point-to-point) linking. 255.255.255.255 creates a network with a single device.

Quote
Also the gateway address of 0.0.0.0 is invalid.  It should be the IP address of your internal network's DHCP server IP.

With respect, this is statement not true.
0.0.0.0 in this context is correct.
Title: Re: Need help with 2 nic standalone core network setup
Post by: pixelator on October 26, 2007, 08:36:30 pm
@DeadPenguin

Are you sure your lan clients/nodes are getting the correct network info via DHCP from the core?
Can you post the ifconfig (linux) or ipconfig -a (windows) info from a lan node that will not connect to internet?

Can you also post the routing table from the core?
type "route" in a terminal.

For the record, I just tore down my entire network and rebuilt/set everything from scratch again.
I am using the core as the wan gateway with dhcp enabled. I have three internal switches and one wireless AP. 

Everything is working - connected - both local networking and internet browsing, gaming, IM, teamspeak ... everything..

My network setting as displayed in LMCE network page:
Code: [Select]
EXTERNAL_IFACE  ppp0
EXTERNAL_MAC
EXTERNAL_IP inet addr:72.85.xxx.xxx P-t-P:10.9.69.1 Mask:255.255.255.255
EXTERNAL_NETMASK 255.255.255.255
EXTERNAL_DHCP 0
INTERNAL_IFACE eth1
INTERNAL_MAC 00:02:E3:11:B3:95
INTERNAL_IP 192.168.15.2
INTERNAL_NETMASK 255.255.255.0
GATEWAY 0.0.0.0
DNS1 71.243.0.12
DNS2 71.250.0.12

As you can see my Mask and Gateway are the same as yours... This is normal for VZ PPPOE.

PPP and IP operate on different "layers" of the OSI model. (google that for some great bedtime reading - it'll put you right to sleep) IP operates on the logical layer while PPP works on the actual physical layer. MAC addressing VS. IP addressing.

I'm thinking you have either a DNS or default route mis-configured somewhere.
can you try using static ips and setting DNS and default gateway manually on a pc that cannot connect and see if it will connect that way?

In addition to the if/ipconfig and route info, can you include your /etc/dhcp3/dhcpd.conf info? It would be very helpful.
Title: Re: Need help with 2 nic standalone core network setup
Post by: DeadPenguin on October 28, 2007, 03:53:22 am
"sudo route" from CORE.
Code: [Select]
linuxmce@dcerouter:~$ sudo route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.7.xx.xx      *               255.255.255.255 UH    0      0        0 ppp0
192.168.80.0    *               255.255.255.0   U     0      0        0 eth0
192.168.80.0    *               255.255.255.0   U     0      0        0 eth1
link-local      *               255.255.0.0     U     1000   0        0 eth0
default         *               0.0.0.0         U     0      0        0 ppp0

"vi /etc/dhcp3/dhcp3/dhcpd.conf" CORE
Code: [Select]
# option definitions common to all supported networks...
#option domain-name "fugue.com";
#option domain-name-servers toccata.fugue.com;
option domain-name-servers 192.168.80.1;
authoritative;

option routers 192.168.80.1;
option subnet-mask 255.255.255.0;

# lease IPs for 1 day, maximum 1 week
default-lease-time 86400;
max-lease-time 604800;

allow booting;
allow bootp;

option space pxelinux;
option pxelinux.magic code 208 = string;
option pxelinux.configfile code 209 = text;
option pxelinux.pathprefix code 210 = text;
option pxelinux.reboottime code 211 = unsigned integer 32;

subnet 192.168.80.0 netmask 255.255.255.0 {
        next-server 192.168.80.1;
        filename "/tftpboot/pxelinux.0";
        option pxelinux.reboottime = 30;
 default-lease-time 86400;
        max-lease-time 604800;
        pool {
                 allow unknown-clients;
                 range 192.168.80.129 192.168.80.253;
        }
}

# PXE booting machines
group {
        next-server 192.168.80.1;
        filename "/tftpboot/pxelinux.0";
        option pxelinux.reboottime = 30;

}

# regular machines
group {
        # DCEROUTER: DCEROUTER (38)
        host pc1 { hardware ethernet 00:00:00:00:00:00; fixed-address 192.168.80.254; }
}

# CORE (1) has bad mac address:


I have internet access on the CORE so I can post the "route" and the "dhcpd.conf" info.

Here is the "sudo ifconfig" from my Mint Linux box:
Code: [Select]
eth0      Link encap:Ethernet  HWaddr 00:E0:18:7F:0E:7E 
          inet addr:192.168.80.253  Bcast:192.168.80.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12199 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17588 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1251649 (1.1 MiB)  TX bytes:1659095 (1.5 MiB)
          Interrupt:16 Base address:0xe000

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:36 errors:0 dropped:0 overruns:0 frame:0
          TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3002 (2.9 KiB)  TX bytes:3002 (2.9 KiB)

"ipconfig /all" from XP on a MAC:
Code: [Select]
Windows IP Configuration



        Host Name . . . . . . . . . . . . : winmac

        Primary Dns Suffix  . . . . . . . :

        Node Type . . . . . . . . . . . . : Unknown

        IP Routing Enabled. . . . . . . . : No

        WINS Proxy Enabled. . . . . . . . : No



Ethernet adapter Local Area Connection 3:



        Connection-specific DNS Suffix  . :

        Description . . . . . . . . . . . : Intel(R) PRO/1000 EB Network Connection with I/O Acceleration #2

        Physical Address. . . . . . . . . : 00-17-F2-01-DD-D9

        Dhcp Enabled. . . . . . . . . . . : Yes

        Autoconfiguration Enabled . . . . : Yes

        IP Address. . . . . . . . . . . . : 192.168.80.252

        Subnet Mask . . . . . . . . . . . : 255.255.255.0

        Default Gateway . . . . . . . . . : 192.168.80.1

        DHCP Server . . . . . . . . . . . : 192.168.80.1

        DNS Servers . . . . . . . . . . . : 192.168.80.1

        Lease Obtained. . . . . . . . . . : Saturday, October 27, 2007 7:43:40 PM

        Lease Expires . . . . . . . . . . : Sunday, October 28, 2007 7:43:40 PM



Ethernet adapter Local Area Connection:



        Media State . . . . . . . . . . . : Media disconnected

        Description . . . . . . . . . . . : Intel(R) PRO/1000 EB Network Connection with I/O Acceleration

        Physical Address. . . . . . . . . : 00-17-F2-01-DD-D8


I hope this helps.

Thank you for all the help getting this set up.

I just did a reinstall today via the DVD. It was pretty painless. I just wanted to make sure the cd install wasn't broken.

THANKS ;D

Best Regards,
Blair


Title: Re: Need help with 2 nic standalone core network setup
Post by: pixelator on October 29, 2007, 02:07:13 am
BINGO!!!

it looks like a simple misconfig for DNS assigned by dhcp

Code: [Select]
# option definitions common to all supported networks...
#option domain-name "fugue.com";
#option domain-name-servers toccata.fugue.com;
option domain-name-servers 192.168.80.1;
authoritative;

in your dhcpd.conf file, change this line
Code: [Select]
option domain-name-servers 192.168.80.1;to
option domain-name-servers <DNS IP>;
DNS IP = replace with the dns servers provided by verizon (ISP).
for example mine would be:
option domain-name-servers  71.243.0.12, 71.250.0.12;

Note that multiple servers are separated by a comma and end in a semi-colon

make that change and restart dhcp
Code: [Select]
/etc/rc.d/init.d/dhcpd restart
assuming that the core is the WAN gateway, the rest of it looks fine.

You can see that in your windows ipconfig output, the win pc is showing
DNS Servers . . . . . . . . . . . : 192.168.80.1

meaning it is looking for DNS info from the core, but the core is not acting as the DNS server.
when your client nodes ask for DNS servers from dhcp, the core is giving them 192.168.80.1 which is what is found in the line "option domain-name-servers 192.168.80.1;"

Changing that line in the dhcpd.conf file to reflect you ISP assigned DNS server IPs should do the trick.
Good Luck!! ;D
Title: Re: Need help with 2 nic standalone core network setup
Post by: DeadPenguin on October 29, 2007, 03:43:01 am
I am writing this from winmac. It worked!!!! THANK YOU!!!! ;D

Code: [Select]

Windows IP Configuration



        Host Name . . . . . . . . . . . . : winmac

        Primary Dns Suffix  . . . . . . . :

        Node Type . . . . . . . . . . . . : Unknown

        IP Routing Enabled. . . . . . . . : No

        WINS Proxy Enabled. . . . . . . . : No



Ethernet adapter Local Area Connection 3:



        Connection-specific DNS Suffix  . :

        Description . . . . . . . . . . . : Intel(R) PRO/1000 EB Network Connection with I/O Acceleration #2

        Physical Address. . . . . . . . . : 00-17-F2-01-DD-D9

        Dhcp Enabled. . . . . . . . . . . : Yes

        Autoconfiguration Enabled . . . . : Yes

        IP Address. . . . . . . . . . . . : 192.168.80.252

        Subnet Mask . . . . . . . . . . . : 255.255.255.0

        Default Gateway . . . . . . . . . : 192.168.80.1

        DHCP Server . . . . . . . . . . . : 192.168.80.1

        DNS Servers . . . . . . . . . . . : 71.243.0.12

                                            71.250.0.12

        Lease Obtained. . . . . . . . . . : Monday, October 29, 2007 2:13:27 AM

        Lease Expires . . . . . . . . . . : Tuesday, October 30, 2007 2:13:27 AM



Ethernet adapter Local Area Connection:



        Media State . . . . . . . . . . . : Media disconnected

        Description . . . . . . . . . . . : Intel(R) PRO/1000 EB Network Connection with I/O Acceleration

        Physical Address. . . . . . . . . : 00-17-F2-01-DD-D8


I can't wait to get working on the rest of the setup now.

THANK YOU!!!

BEST REGARDS,
Blair
Title: Re: Need help with 2 nic standalone core network setup
Post by: pixelator on October 29, 2007, 03:19:12 pm
Quote
I am writing this from winmac. It worked!!!! THANK YOU!!!! Grin

Fantastic!!!
Glad to help and happy to see you got it sorted.