Networking Forums

Networking Forums > Computer Networking > Linux Networking > Multiple NICS issue

Reply
Thread Tools Display Modes

Multiple NICS issue

 
 
MTS News Server
Guest
Posts: n/a

 
      07-24-2003, 08:34 PM
Hi,

I just finished installing RH9 with two NICS and I'm trying to figure out
how to set up my NICS properly. Here's how it should work;
eth0 is configured to use dhcp where is obtains an IP from my dhcp server
and will be used to access network resources (default gateway
192.168.0.201). eth1 is configured to use dhcp from a PPPoE router and will
be used to internet access (gateway 10.0.0.1). The reason for using the
PPPoE router for internet access is becuase my primary network uses
Microsoft ISA server and I can't authenticate to it through Linux. Also,
ETH1 is used to accept incoming request to the Linux box (FTP,SSH and backup
mail server) eth1 is not a trusted device. Both devices are getting correct
IPs.
What is happening is I can connect to my local network (192.168.0.*) but
when I try to access the internet, the request is trying to go through the
ISA server instead of the PPPoE router.
Can anyone offer any suggestions?

ifconfig output:

eth0 Link encap:Ethernet HWaddr 00:30:84:88:56:1D

inet addr:192.168.0.116 Bcast:192.168.0.255 Mask:255.255.255.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:44809 errors:0 dropped:0 overruns:0 frame:0

TX packets:32199 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:100

RX bytes:57185167 (54.5 Mb) TX bytes:3365880 (3.2 Mb)

Interrupt:9 Base address:0xd000



eth1 Link encap:Ethernet HWaddr 00:E0:7D1:0F:E4

inet addr:10.0.0.19 Bcast:255.255.255.255 Mask:255.255.255.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:1201 errors:0 dropped:0 overruns:0 frame:0

TX packets:1304 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:100

RX bytes:496312 (484.6 Kb) TX bytes:156830 (153.1 Kb)

Interrupt:10 Base address:0x7000



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:56055 errors:0 dropped:0 overruns:0 frame:0

TX packets:56055 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:3827464 (3.6 Mb) TX bytes:3827464 (3.6 Mb)



Route output:

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

10.0.0.0 * 255.255.255.0 U 0 0 0 eth1

192.168.0.0 * 255.255.255.0 U 0 0 0 eth0

169.254.0.0 * 255.255.0.0 U 0 0 0 eth1

127.0.0.0 * 255.0.0.0 U 0 0 0 lo

default 192.168.0.201 0.0.0.0 UG 0 0 0 eth0



Thanks in advance


 
Reply With Quote
 
 
 
 
/dev/rob0
Guest
Posts: n/a

 
      07-24-2003, 10:43 PM
In article <1pXTa.479$(E-Mail Removed)>, MTS News Server wrote:
> eth0 is configured to use dhcp where is obtains an IP from my dhcp server
> and will be used to access network resources (default gateway
> 192.168.0.201). eth1 is configured to use dhcp from a PPPoE router and will
> be used to internet access (gateway 10.0.0.1). The reason for using the


Didn't happen this way.

> PPPoE router for internet access is becuase my primary network uses
> Microsoft ISA server and I can't authenticate to it through Linux. Also,


What is a "MS ISA server"? I've heard of ICA and ICS ... but then I
don't try to stay up with MS matters.

> when I try to access the internet, the request is trying to go through the
> ISA server instead of the PPPoE router.


Yes, it is. See:

> Kernel IP routing table
>
> Destination Gateway Genmask Flags Metric Ref Use Iface
> [snip]
> default 192.168.0.201 0.0.0.0 UG 0 0 0 eth0


That's your default route, eth0, not eth1.

These commands will fix it:
route del default
route add default gw 10.0.0.1
But you'll want to fix your configuration so that this doesn't happen
every time. I just posted in a thread "ppp0 seems to be working, but
can't browse the net"; some of that applies to you as well. You have
conflicting DHCP servers both assigning default routes, and the wrong
one wins.
--
/dev/rob0 - preferred_email=i$((28*28+28))@softhome.net
or put "not-spam" or "/dev/rob0" in Subject header to reply
 
Reply With Quote
 
Ryan Gaudet
Guest
Posts: n/a

 
      07-25-2003, 05:05 PM
On Thu, 24 Jul 2003 15:43:56 -0700, /dev/rob0 wrote:

> In article <1pXTa.479$(E-Mail Removed)>, MTS News Server wrote:
>> eth0 is configured to use dhcp where is obtains an IP from my dhcp server
>> and will be used to access network resources (default gateway
>> 192.168.0.201). eth1 is configured to use dhcp from a PPPoE router and will
>> be used to internet access (gateway 10.0.0.1). The reason for using the

>
> Didn't happen this way.
>
>> PPPoE router for internet access is becuase my primary network uses
>> Microsoft ISA server and I can't authenticate to it through Linux. Also,

>
> What is a "MS ISA server"? I've heard of ICA and ICS ... but then I
> don't try to stay up with MS matters.
>
>> when I try to access the internet, the request is trying to go through the
>> ISA server instead of the PPPoE router.

I made the changes you suggested and it worked. I had tried something
similar but instead of using "default" I was using 0.0.0.0. Technically
this would have worked but I couldn't delete the original default as I was
trying to delete 0.0.0.0 (for default)
I read the post that you suggested but it made no references as to how to
make the configuration changes permanent. Once I restart the network
service (or drop and up the interfaces), the default reverts to
192.168.0.201. If there are any suggestions on how to do this I would
appreciate it.

Thx again

> Yes, it is. See:
>
>> Kernel IP routing table
>>
>> Destination Gateway Genmask Flags Metric Ref Use Iface
>> [snip]
>> default 192.168.0.201 0.0.0.0 UG 0 0 0 eth0

>
> That's your default route, eth0, not eth1.
>
> These commands will fix it:
> route del default
> route add default gw 10.0.0.1
> But you'll want to fix your configuration so that this doesn't happen
> every time. I just posted in a thread "ppp0 seems to be working, but
> can't browse the net"; some of that applies to you as well. You have
> conflicting DHCP servers both assigning default routes, and the wrong
> one wins.


 
Reply With Quote
 
H. S.
Guest
Posts: n/a

 
      07-26-2003, 06:12 AM
Ryan Gaudet wrote:
> On Thu, 24 Jul 2003 15:43:56 -0700, /dev/rob0 wrote:
>
>
>>In article <1pXTa.479$(E-Mail Removed)>, MTS News Server wrote:
>>
>>>eth0 is configured to use dhcp where is obtains an IP from my dhcp server
>>>and will be used to access network resources (default gateway
>>>192.168.0.201). eth1 is configured to use dhcp from a PPPoE router and will
>>>be used to internet access (gateway 10.0.0.1). The reason for using the

>>
>>Didn't happen this way.
>>
>>
>>>PPPoE router for internet access is becuase my primary network uses
>>>Microsoft ISA server and I can't authenticate to it through Linux. Also,

>>
>>What is a "MS ISA server"? I've heard of ICA and ICS ... but then I
>>don't try to stay up with MS matters.
>>
>>
>>>when I try to access the internet, the request is trying to go through the
>>>ISA server instead of the PPPoE router.

>
> I made the changes you suggested and it worked. I had tried something
> similar but instead of using "default" I was using 0.0.0.0. Technically
> this would have worked but I couldn't delete the original default as I was
> trying to delete 0.0.0.0 (for default)
> I read the post that you suggested but it made no references as to how to
> make the configuration changes permanent. Once I restart the network
> service (or drop and up the interfaces), the default reverts to
> 192.168.0.201. If there are any suggestions on how to do this I would
> appreciate it.



I think that you need to put:
DEFROUTE=yes

in the configuration file of the devide you choose to be default. Other
should have it set to "no". Just an idea; I am not a networking expert.
In my case, my ppp0 is supposed to the default route, I have
DEFROUTE=yes in my ppp0 config file, as mentioned in my post "problem
SOLVED. Was Re: peculiar problem: ping works, but cannot browse. Need
help of network gurus" (the same thread that Rob was mentioning).

HTH,
->HS




> Thx again
>
>
>>Yes, it is. See:
>>
>>
>>>Kernel IP routing table
>>>
>>>Destination Gateway Genmask Flags Metric Ref Use Iface
>>>[snip]
>>>default 192.168.0.201 0.0.0.0 UG 0 0 0 eth0

>>
>>That's your default route, eth0, not eth1.
>>
>>These commands will fix it:
>> route del default
>> route add default gw 10.0.0.1
>>But you'll want to fix your configuration so that this doesn't happen
>>every time. I just posted in a thread "ppp0 seems to be working, but
>>can't browse the net"; some of that applies to you as well. You have
>>conflicting DHCP servers both assigning default routes, and the wrong
>>one wins.

>
>



--
---------------------- X ----------------------
Remove all underscores from my email address to get the correct one.
Apologies for the inconvenience, but this is to reduce spam.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MULTIPLE NICs ON DC Robert L. \(MS-MVP\) Windows Networking 3 01-19-2008 02:22 AM
Multiple NICs Arthus Lim Windows Networking 5 11-12-2005 05:30 PM
RIS PXE client with multiple NICs AJA Windows Networking 0 07-11-2005 07:08 PM
Multiple NICs =?Utf-8?B?QnJpYW4=?= Windows Networking 17 11-26-2004 12:35 AM
Multiple NICs Erick Windows Networking 6 05-14-2004 05:09 PM



1 2 3 4 5 6 7 8 9 10 11