Router vs Gateway? It really is a router. Strictly speaking, a
gateway does some translation between foreign protocols, such as
between an ethernet network and SNA, for example. I don't use a dhcp
client on Linux, so I don't know for sure, but I'd suggest taking the
gateway= and gatewaydev= lines out of sysconfig/network.
> Date: Fri, 19 Mar 1999 19:47:52 -0500
> From: martin thomas <[EMAIL PROTECTED]>
> Subject: [Masq] default gateway and dhcp
> To: [EMAIL PROTECTED]
>
> *This message was transferred with a trial version of CommuniGate(tm) Pro*
> hi,
>
> my setup is via cablemodem. my isp's dhcp server provides everything it's supposed
>as i can observe in /etc/dhcpc/hostinfo-eth0. but, rather odd, looking at route's
>data my default route is not prese>
> # cat /etc/dhcpc/hostinfo-eth0
> LEASETIME=10800
> RENEWALTIME=5400
> REBINDTIME=9450
> IPADDR=<my ip>
> NETMASK=255.255.255.0
> BROADCAST=<bcast>
> HOSTNAME=<host name>
> ROUTER=<gateway>
>
> btw, why is the gateway field named "router" and not "gateway"?
>
> i've been trying to figure out /etc/sysconfig/network-scripts/ifup to see how the
>default gateway it set up.
>
> the way i see it, dhcp does not set up a 'default' gateway. but it's set in
>/etc/sysconfig/network
>
> fine i said, let's hack it. so i put my gateway there. problem is,
> my isp don't always attribute me an ip from the same C class. so,
> everytime i down the thing i have to get at the console to set
> the> i was wondering if anyone had any insights on this. there
> must be something obvious i don't see. ;)
>
> something that could help, can anyone point me to a ressource where dhcpc's job is
>explained in details?
>
> btw,
> i'm running on redhat 5.2 w/ those installed (which, i figure, could help):
> dhcp-2.0b1pl6-2
> dhcpcd-0.70-2
> initscripts-3.78-1
>
> thanks,
> cythraul
>
>
> _______________________________________________
> Masq maillist - [EMAIL PROTECTED]
> http://tiffany.indyramp.com/mailman/listinfo/masq
> Admin requests can be handled by web (above) or [EMAIL PROTECTED]
>
Unix IS user friendly. It's just very selective about who its friends
are. And sometimes even best friends have fights.
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
http://tiffany.indyramp.com/mailman/listinfo/masq
Admin requests can be handled by web (above) or [EMAIL PROTECTED]