In comp.os.linux.networking Unruh <unruh-(E-Mail Removed)>:
> (E-Mail Removed) writes:
>>We were recently assigned to a new network, and I'm trying to update
>>the settings on my Solaris machine. Assume the IP of the default
Great, but what has this to do with linux? As others already
pointed out use a solaris ng for some solaris question!
Or at least check the manuals on your system and if still can't
figure it out:
http://sunsolve.sun.com/
[..]
>>> ping 123.234.123.234
>>ICMP Net Unreachable from gateway localhost (127.0.0.1) for icmp from
>>localhost (127.0.0.1) to 123.234.123.234
> Of course not. It has no way of getting the packet there.
> YOu need a local route, which includes the gateway, which your system can
> reach via the local attacked ethernet (Ie are on the same net) and a
> default route through the gateway.
> route add -net 111.222.333.0 netmask 255.255.255.0 eth0
You don't need to add a route to the network the IP belongs to on
linux, the system will do this on its own.
On solaris you might need in addition to set a host route to the
own interface, currently unsure (off-hand) if this is the case
for HP-UX, solaris or both. Guess I had to look it up. ;-)
--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo
(E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 174: Backbone adjustment