![IP路由Solaris 9从本地网络访问互联网](https://linux22.com/image/805049/IP%E8%B7%AF%E7%94%B1Solaris%209%E4%BB%8E%E6%9C%AC%E5%9C%B0%E7%BD%91%E7%BB%9C%E8%AE%BF%E9%97%AE%E4%BA%92%E8%81%94%E7%BD%91.png)
我正在尝试配置 Solaris Sparc 服务器上的 NICS。我的问题在于从本地网络访问“Internet”。我已请求 NIC 接收 DHCP 服务器地址
#ifconfig -interface dhcp start.
如果有人能指导我下一步该怎么做。我无法 ping 4.2.2.2 或访问互联网。非常感谢,谢谢
#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
答案1
您的机器看起来已正确配置为 DHCP 客户端。
您的公司不允许其内部网络直接连接到 Internet,或者 DHCP 服务器未配置为提供正确的默认路由器。
无论如何,如果不向网络管理员寻求帮助,就无法解决任何问题。