[NBLUG/talk] Networking newbie

Ron Wickersham rjw at alembic.com
Thu Jan 12 10:13:26 PST 2006


hi William,

i would write it this way and see if it works.

auto lo
iface l0 inet loopback

auto eth0
iface eth0 inet static
	address 10.0.0.1
	netmask 255.255.255.0
	broadcast 10.0.0.255

i've always seen it written that way in debian boxes that work.
just reviewed some documentation that suggests that what you wrote
with multiple interfaces mentioned are ok for a stanza.    but
what one person's stanza is may be different than another person's
stanza.

-ron

On Wed, 11 Jan 2006, A'fish'ionado wrote:

>
> *Whew* he finally stopped bugging--no! The madness continues! :-)
>
> I'm hoping now to get the desktop to do IP forwarding (it's already
> running DHCPD). Presumably, that would be easier to do with a static
> IP address. :-) So, /etc/network/interfaces is set to:
>
> auto lo eth0
> iface lo inet loopback
> iface eth0 inet static
>         address 10.0.0.1
>         netmask 255.255.255.0
>
> Now, when the box boots, it grabs a dynamic address from DHCP. ifdown
> eth0; ifup eth0 gets it going on 10.0.0.1, like I want.
>
> Um, what the heck is going on? Why is it grabbing a dynamic IP on boot
> and a static IP if I restart networking manually?
>
> ... Maybe soon I'll get enough working to stop bugging everyone. ;-)
>
> Thanks,
> William
>
> _______________________________________________
> talk mailing list
> talk at nblug.org
> http://nblug.org/cgi-bin/mailman/listinfo/talk
>



More information about the talk mailing list