IP routing Solaris 9 access the internet from local network

Posted by help_me on Server Fault See other posts from Server Fault or by help_me
Published on 2013-10-28T20:43:07Z Indexed on 2013/10/28 21:55 UTC
Read the original article Hit count: 240

Filed under:
|
|
|

I am trying to configure the NICS on the Solaris Sparc server. My problem lies in getting out to the "Internet" from the local network. I have requested the NIC to receive a DHCP server address

#ifconfig -interface dhcp start.

If anyone could guide me as to what I need to do next. I am not able to ping 4.2.2.2 or access the internet. Much appreciated, thank you

#uname -a
SunOS dev 5.9 Generic_122300-59 sun4u sparc SUNW,Sun-Fire-V210

ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
     inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
    inet 10.100.0.3 netmask ffffc000 broadcast 10.100.63.255
bge0:2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
    inet 10.100.0.22 netmask ffffc000 broadcast 10.100.63.255
bge3: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 12
    inet 169.14.60.37 netmask fffffe00 broadcast 169.14.61.255


cat /etc/defaultrouter
10.100.0.254
169.14.60.1

cat /etc/resolv.conf
nameserver 169.14.96.73
nameserver 169.10.8.4

netstat -rn

Routing Table: IPv4
Destination           Gateway           Flags  Ref   Use   Interface
-------------------- -------------------- ----- ----- ------ ---------
169.14.60.37         169.14.60.1          UGH       1      0
169.14.60.0          169.14.60.37         U         1     18  bge3
10.100.0.0           10.100.0.3           U         1  34940  bge0
10.100.0.0           10.100.0.22          U         1      0  bge0:2
224.0.0.0            10.100.0.3           U         1      0  bge0
default              10.100.0.254         UG        1    111
default              169.14.60.1          UG        1     26
127.0.0.1            127.0.0.1            UH       10  59464  lo0

bash-2.05$ sudo ndd -get /dev/ip bge0:ip_forwarding
1
bash-2.05$ sudo ndd -get /dev/ip bge3:ip_forwarding
1
bash-2.05$ sudo ndd -get /dev/ip ip_forwarding
1

© Server Fault or respective owner

Related posts about unix

Related posts about netstat