Samuel Flory wrote:
John Nichel wrote:
Hi,
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?
Are you setting a default gateway on eth1? What does route -n return?
[root@web01 root]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
192.168.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth0
--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list