Sunday, September 19, 2010

RedHat 9 VMware NAT issue

RedHat 9 Linux 安裝於 VMware 後,Linux 網路無法使用 NAT。解決方式有兩種如下:

1. 編輯 /etc/sysconfig/network-scripts/network-functions
在函式內的第一行加入
return 1

2. 編輯 interface 的兩個設定檔
/etc/sysconfig/network-scripts/ifcfg-eth[n]
/etc/sysconfig/networking/devices/ifcfg-eth[n]

其中 [n] 表示 Ethernet adapter (網路卡) 的編號,例如 eth0

修改後,使用下述指令重新啟動 netwok service:
service network restart

收工~

參考資料
Bug 100527 RHEL3_U4 (NET PCNET32) DHCP client setup on NIC VMware don't work in VMware on reboot - https://bugzilla.redhat.com/show_bug.cgi?id=100527

RedHat 9 and VMWare 4 network issue - http://forums.techguy.org/linux-unix/171937-redhat-9-vmware-4-network.html

No comments:

Post a Comment