Re: AW: [mu SETUP] Can't change to static IP after DHCP

From: Joshua Hudson (joshudson@hotmail.com)
Date: Fri Apr 12 2002 - 17:19:31 CEST


>From: Dirk Heilemann <dirk.heilemann@telindus.de>
> > >From: Dirk Heilemann <dirk.heilemann@telindus.de>
> > >static IP -
> > >no big deal you say.... but it's not working!
> > # ifconfig eth0 1.2.3.4 bw 1.2.3.255 up
> > # route add default eth0
> >
>What is that supposed to do?? You were in a hurry I presume, because none
>of
>the commands make sense - sorry
>
>1.) Did You mean:
>ifconfig eth0 broadcast 10.16.197.255 up
I believe the syntax is
#ifconfig device ip [broadcast ip] [up | down]

The route command above routes all unknown packets to eth0

>/root [root]# route
>
>Kernel routing table
>Destination Gateway Genmask Flags MSS Window Use
>Iface
>10.16.0.0 * 255.255.254.0 U 1500 0 0
>eth0
>loopback * 255.0.0.0 U 3584 0 2 lo
>
>- (The local net is wrong - never seen that...)
That is the correct genmask for lo (127 is class A)

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx

---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.dk
For additional commands, e-mail: mulinux-help@sunsite.dk



This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:21 CET