Поставил FreebSd 8.0 на VMware, и пытаюсь настроить сеть.
Начинаю с файла /etc /rc.conf:
Код: Выделить всё
gateway_enable="YES"
ifconfig_em0="inet 192.168.1.100 netmask 255.255.254.0"
defaultrouter="192.168.1.1"Смотрю что получилось, вроде не плохо.
Код: Выделить всё
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 00:03:4d:23:68:2a
inet 192.168.1.100 netmask 0xfffffe00 broadcast 192.168.2.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
Код: Выделить всё
#ping 192.168.1.100
PING 192.168.1.100 (192.168.1.100): 56 data bytes
64 bytes from 192.168.1.100: icmp_seq=0 ttl=64 time=0.188 ms
64 bytes from 192.168.1.100: icmp_seq=1 ttl=64 time=0.120 ms
^C
--- 192.168.1.100 ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.120/0.154/0.188/0.034 ms
Код: Выделить всё
#ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 data bytes
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
^C
--- 192.168.1.1 ping statistics ---
9 packets transmitted, 0 packets received,100.0% packet lossИли может быть с VMware проблема?
Спасибо.
