Re: Seperate eth0 and eth1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 17, 2003 at 01:43:27PM -0600, John Nichel wrote:
>   I have two NIC's installed in one of my boxes.  On eth0, I want it to 
> connect to the internet thru my DSL connection, and the other I want 
> connected to my internal network.  I have eth0 set up as dynamic, and it 
> get's it's ip info fine, and eth1 is set up as static.  The problem I'm 
> having is that I cannot get anywhere on the net (no DNS, or sites by 
> IP).  eth1 connects to my local lan, which is also connected to the 
> internet via my cable connection, so how do I tell the system to use 
> eth0 only when going out to the Internet?

This is controlled by your routing tables.  If your local network is
only 1 subnet, you should be set up okay for your internal hosts.  Then
just define your default gateway to point outside using eth0.

The static routes are typically defined in /etc/sysconfig/static-routes.
 
-- 
Ed Wilts, Mounds View, MN, USA
mailto:ewilts@xxxxxxxxxx
Member #1, Red Hat Community Ambassador Program


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux