Forcing static address in 12.04
Karl Auer
kauer at biplane.com.au
Wed Jun 10 17:10:56 UTC 2015
On Wed, 2015-06-10 at 22:01 +0900, Joel Rees wrote:
> > address 192.168.144.8
> interesting address.
Not very interesting at all. It looks perfectly fine for a static IP
address on a /24 network.
> > netmask 255.255.255.0
> > network 192.168.0.0
> Network unreachable. Yes.
Nope, not at all. That combination will work just fine, though the
network statement is misleading and unnecessary.
> Try 192.168.144.0 for the network.
Best would be to omit it altogether. Modern Linux doesn't need it and as
far as I know just ignores it. I can't actually remember ever using it.
> > broadcast 192.168.144.233
> > gateway 192.168.144.233
> Yes. Wonderful. Hit the gateway to broadcast. That will definitely
> make your network experience enjoyable.
Sarcasm doesn't help anyone, and this error has already been pointed out
and (hopefully) fixed.
> No. Don't do that. Use something sane for the broadcast address, like,
> oh, I dunno, maybe 192.168.144.255 or 192.168.255.255.
The broadcast address can usually be left out altogether. Linux will
work it out for you. In this particular case, if it were to be kept, it
should be 192.168.144.255.
Regards, K.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389
GPG fingerprint: 3C41 82BE A9E7 99A1 B931 5AE7 7638 0147 2C3C 2AC4
Old fingerprint: EC67 61E2 C2F6 EB55 884B E129 072B 0AF0 72AA 9882
More information about the ubuntu-users
mailing list