Hi,
Am I asking this on the wrong list? Can someone please help me
out?
TIA,
Kenneth
---------- Forwarded message ----------
Date: Fri, 31 Dec 1999 22:18:15 -0600 (CST)
From: Kenneth Stephen <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Routing problem with dhcp and ppp
Hi,
I have two ethernet interfaces on my machine - one for a local
private network, and the other is connected to a cablemodem and is brought
up via dhcp. This is what my routing table looks like when I am connected
to the internet via dhcp :
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0
eth1
aa.bb.cc.0 0.0.0.0 255.255.255.0 U 0 0 7
eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 1 lo
Question 1 is : how the heck does this work without me having a
default route? I can access any website on the internet, not just websites
on the aa.bb.cc.x network. How does the kernel figure out that 'eth0' is
the right interface to use?
I also have a dialup connection which I use for work. When I use
ppp to dialup, here is what my routing table looks like :
Destination Gateway Genmask Flags Metric Ref Use
Iface
204.146.240.17 0.0.0.0 255.255.255.255 UH 0 0 0
ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0
eth1
aa.bb.cc.0 0.0.0.0 255.255.255.0 U 0 0 7
eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 1 lo
0.0.0.0 204.146.240.17 0.0.0.0 UG 0 0 2
ppp0
Question 2 is : how should I set up the routing table so that the
default route goes through the high-bandwidth ('eth0') interface?
Question 3 is : I am using dhcpcd to handle the dhcp lease. How
can I set it up so that the resolv.conf that it creates also includes a
search for my local domain? Currently, the resolv.conf that is created is
like this :
domain some.domain
ee.ff.gg.hh
ii.jj.kk.ll
...and I want it to be
search megadodo.umb some.domain
192.168.0.2
ee.ff.gg.hh
ii.jj.kk.ll
Thanks in advance,
Kenneth
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]