On Wed, Dec 8, 2010 at 11:04 PM, Someone <[email protected]> wrote: > > On Wed, 2010-12-08 at 20:59 -0800, drew wymore wrote: >> On Wed, Dec 8, 2010 at 7:58 PM, someone <[email protected]> wrote: >> >> > The advanced tab seems to be password locked and apparently I wasn't >> > given the password. Question is, how do I get around the fact the the >> > cable modem wants >> > to set a global ip address on the host via dhcp? This clearly would >> > mess up my Linux based routers. In Linux, can I limit what dhcp from >> > the cable modem can change? I want to set a default route in say the >> > Comcast routing table based on what the cable modem tells me instead >> > of setting this route in the default routing table. Is there a >> > modified dhcp client that works with this cable modem which will use >> > the information the modem provides and apply it appropriately? >> > >> >> Not that I'm aware of. Comcast gear is basically bridge Michael. So you'll >> have to set up a box as a router at the iface that the Comcast router plugs >> into. > > So what do I need to know? Can I add a nic to my statically configured > gateway and plug the comcast modem into it or am I stuck putting a > router appliance inbetween my Linux router and the cable modem? The > problem is, if /etc/resolv.conf gets changed that messes things up. > I also don't want the default route in the default routing table to > change. Unless... What if I create a separate routing table for > each Internet connection and mark all packets that are outbound so that > it doesn't matter what the default Internet route in the default routing > table is? I still have the issue of protecting /etc/resolv.conf though.
you can add a file that will be used via the dhclient process dhclient.conf or on some systems dhclient.<interface> In that file you add names domain and can either prepend or append. http://linux.about.com/od/commands/l/blcmdl5_dhclien.htm or use your friendly man page man dhclient.conf _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
