[NBLUG/talk] Networking newbie

E Frank Ball frankb at frankb.us
Tue Jan 10 16:09:45 PST 2006


On Tue, Jan 10, 2006 at 03:59:05PM -0800, A'fish'ionado wrote:
} > ifconfig eth0 10.0.0.12 netmask 255.255.255.0 broadcast 10.0.0.255
} 
} There we go. :-)
} 
} OK, I'm to the point where I have a network of two Debian boxes. I
} fire up the server, and it gets the address 10.0.0.255. ifup eth0 on
} the laptop registers it on the network as 10.0.0.200. Each box can ssh
} into itself on its address.
} 
} However, when I try to ssh into the opposite box, I fail.
} 
} Right now, the laptop gives me:
} ssh: connect to host 10.0.0.255 post 22: Network is unreachable

10.0.0.255 is your broadcast address.  This is NOT a valid
address for a box on the network.  Pick another number (and not
10.0.0.0).


} Finally--hostname -i still prints 127.0.0.1 on each box. Is this
} fixable/something to worry about?

Edit /etc/hosts to set what you want.
Leave a 127 entry:

127.0.0.1       localhost.localdomain   localhost
10.0.0.200	hostname1.yourdomain.com
10.0.0.201	hostname2.yourdomain.com


-- 

  Frank Ball  frankb at frankb.us



More information about the talk mailing list