Can't talk to the internet, only the local network
Having just installed a new Solaris 10 machine, my other being Solaris 8 and 9, so a newbie to Solaris10, I don't seem to be able to get this box to communicate to the internet.
I seem to have all the correct files in place /etc/inet/hosts, /etc/defaultrouter, /etc/inet/ipnodes ,/etc/hostname.bge0.
and even see the default route setup in the routing tables via the command netstat -r, but I can't get to anything outside our network.
I'm using a static address, no dhcp.
Is there a hidden trick to get this node to talk to the outside ?
[573 byte] By [
zehadmin] at [2007-11-26 6:27:56]

# 1
So whats the error when you try to ping an outside host? And is this machine directly connected to the Internet or behind a router, and if so what happens when you try to ping the router?
LionO at 2007-7-6 14:21:38 >

# 2
When pinging a node that I know responds to a ping www.bbc.co.uk ,it just says:
No answer from www.bbc.co.uk
whereas my other Solaris 8 & 9 systems will respond immediatly with
www.bbc.co.uk is alive
I can ping the router fine, but anything on the other side just can't be seen.
# 3
When pinging a node that I know responds to a ping www.bbc.co.uk ,it just says:
No answer from www.bbc.co.uk
whereas my other Solaris 8 & 9 systems will respond immediatly with
www.bbc.co.uk is alive
I can ping the router fine, but anything on the other side just can't be seen.
# 4
Sounds to me that your netmask is wrong. Check that the correct mask and network are properly set in /etc/netmaks. If you are root, you can quickly check yout mask with ifconfig <interface> . If it is something other than what it should be, you can change it with ifconfig, then edit /etc/netmasks so it'll be correct next time the box reboots.
It also could be a configuration in your switch or some sort of issue with the switch's hardware that's preventing that IP/port from connecting. If after checking the netmask you don't find any issues, a quick test for your network connection would be to use both the cable/port and IP address of one that is working.
Without knowing more specifics about your network, that's where I would star.
# 5
Hello.Just two ideas:a) Does DNS work at all? - Check to ping any server on the internet with its IP address instead of its name.b) Is the router configuration ok? Compare /etc/defaultrouter on the working and the non-working machine.Martin
# 6
Can you post the output from:ifconfig -aand netstat -rn?
# 7
Yes, DNS is working fine, forward and reverse, I'm able to ping any address and resolve it fine.
looking throught snoop I see the ping going out but no reply !!
Defaultrouter had in just an IP address in from the Install but when that didn't work, I tried the same setup I see that I have on the other working boxes, where I put in the name of the Router and put into the Hosts file the name and address there.
# 8
The output of ifconfig -a looks fine or should I say, the same as the other working boxes:
ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 194.216.10.93 netmask ffffff00 broadcast 194.216.10.255
Also the Output of netstat -rn seems good:
netstat -rn
Routing Table: IPv4
DestinationGatewayFlags RefUseInterface
-- -- -- --
194.216.10.0 194.216.10.93U 1485 bge0
224.0.0.0194.216.10.93U 10 bge0
default 194.216.10.254UG137
127.0.0.1127.0.0.1UH51285 lo0