On Fri, Dec 17, 2010 at 01:12:08PM -0500, Philip Webb wrote

> Thanks to both: you've solved my actual problem, but not the puzzle.
> I installed the Gentoo pkg 'dhcpcd' & 'dhcpcd eth0' gets the I/net :
> clearly, this is a big step forward by ISPs since 2001 !  I can also
> get through this way using Mandriva's "wired connection".  It still
> doesn't explain why Mandriva's "pppoe" works, but not Gentoo's,
> but that's now hopefully moot, if nothing goes wrong again.

  I don't bother with pppoe because the router-modem should give you a
generic ethernet interface with a static IP address.  I don't bother
with dhcp either.  You can get by with a static RFC1918 IP address from
the modem.  My ADSL router modem has address 192.168.123.254 and this PC
has 192.168.123.249.  My /etc/conf.d/net started out as...

config_eth0=(
"192.168.123.249 broadcast 192.168.123.255 netmask 255.255.255.248 mtu 1454"
routes_eth0=(
"default via 192.168.123.254"
)

  You can get more sophisticated.  Currently, I'm at...

config_eth0=(
"192.168.123.249 broadcast 192.168.123.255 netmask 255.255.255.248 mtu 1454"
"169.254.1.3 broadcast 169.254.255.255 netmask 255.255.0.0")
routes_eth0=(
"default via 192.168.123.254 metric 2"
"192.168.123.248/29 via 192.168.123.254 metric 0"
"169.254.0.0/16 via 169.254.1.3 metric 0"
)

  By setting the default route to metric 2, and the other routes to
metric 0, my PC can talk to other devices here at home *WHILE THE DIALUP
MODEM IS CONNECTED TO THE NET*.  My backup PC is on 192.168.123.248/29
and the HDHomerun TV tuner sitting in the living room (facing the CN
Tower and Buffalo) is on 169.254,xxx.xxx at the other end of a 50-foot
ethernet cable.

-- 
Walter Dnes <waltd...@waltdnes.org>

Reply via email to