各位先進:
小弟在家申請了一個固定ip使用,假設是61.65.248.25,兩張pci網卡,
eth0設為
address 61.65.248.25
netmask 255.255.255.0
gatway 61.65.248.254
eth1設為
address 192.168.1.254
netmask 255.255.255.0
gatway 192.168.1.254
重新開機後,ifconfig的內容多出broadcast分別為61.255.255.255, 192.168.1.255,eth0的broadcast怪怪的,在/etc/network/interfaces中的eth0部分加上broadcast 61.65.248.255,重新開機,eth0的broadcast 61.65.248.255,無誤。ping www.hinet.net,ping 168.95.192.1(hinet DNS)都不行,ping 61.65.248.254可以,這該如何偵錯?我哪邊錯了?我是linux新手,請各位幫幫忙!thx