RedHat网卡设置: [root@guanka2 network-scripts]# cat ifcfg-eth0 DEVICE=eth0 BOOTPROTO=STATIC IPADDR=16.156.213.10 NETMASK=255.255.255.0 GATEWAY=16.156.212.1 DNS1=16.110.135.52 ONBOOT=yes
RedHat的NDS设置: [root@guanka2 network-scripts]# cat /etc/resolv.conf # Generated by NetworkManager search asiapacific.hpqcorp.net nameserver 16.110.135.52
Win7信息: C:\Users\chengk>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : CHENGK2 Primary Dns Suffix . . . . . . . : asiapacific.hpqcorp.net Node Type . . . . . . . . . . . . : Hybrid IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : No DNS Suffix Search List. . . . . . : asiapacific.hpqcorp.net System Quarantine State . . . . . : Not Restricted
Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft Virtual WiFi Miniport Adapter Physical Address. . . . . . . . . : B4-B6-76-7C-E5-49 DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Intel(R) Centrino(R) Advanced-N 6235 Physical Address. . . . . . . . . : B4-B6-76-7C-E5-48 DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Connection-specific DNS Suffix . : asiapacific.hpqcorp.net Description . . . . . . . . . . . : Intel(R) 82579LM Gigabit Network Connection Physical Address. . . . . . . . . : A4-5D-36-59-FE-4D DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Link-local IPv6 Address . . . . . : fe80::5cac:8d52:9c3:1a6a%15(Preferred) IPv4 Address. . . . . . . . . . . : 16.156.213.3(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.252.0 Default Gateway . . . . . . . . . : 16.156.212.1 DHCP Server . . . . . . . . . . . : 16.230.57.250 DHCPv6 IAID . . . . . . . . . . . : 363093302 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-19-9C-BB-FD-A4-5D-36-59-FE-4D DNS Servers . . . . . . . . . . . : 16.110.135.52 16.110.135.51 NetBIOS over Tcpip. . . . . . . . : Enabled
设为 NAT ,其它都不用设置了 这语言没几个能看懂
问题已经解决了。 原来是我用公司的网络需要设置代理。 我那样设置是没有问题的。
|