Subject: Vmware virtual machines - some IP issues.
To: None <netbsd-help@netbsd.org>
From: Tony Hernandez <tonyh@housing.ufl.edu>
List: netbsd-help
Date: 02/12/2003 09:42:46
Hi all,
=09
I am running 1.6 in a vmware virtual machine and I'm having some
IP issues. When I use:
Ifconfig pcn0 128.227.47.243 netmask 255.255.255.0 up
It brings up the pcn0 int just fine. I can ping my default gateway which
is 127.228.47.1.=20
when I run :=20
route add default 127.228.47.1=20
Then I cant even ping the default gateway or even my own IP adrress.=20
This is strange since I used the very same information in sysinst and
was able to download the sets from ftp.netbsd.org with no issue. However
DHCP will not auto configure either. It makes no sense to me. Maybe IPv6
in the kernel is interfering ? If so how do I turn it off?
rubikan# ifconfig -a
pcn0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:50:56:4b:c9:26
media: Ethernet autoselect (autoselect)
inet 128.227.47.243 netmask 0xffffff00 broadcast 128.227.47.255
inet6 fe80::250:56ff:fe4b:c926%pcn0 prefixlen 64 scopeid 0x1
lo0: flags=3D8009<UP,LOOPBACK,MULTICAST> mtu 33220
inet 127.0.0.1 netmask 0xff000000
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet6 ::1 prefixlen 128
rubikan# netstat -rn
Internet:
Destination Gateway Flags Refs Use Mtu
Interface
localhost localhost UH 0 0 33220 lo0
128.227.47/24 link#1 UC 2 0 -
pcn0
128.227.47.1 00:90:2b:75:d8:00 UHLc 0 5 -
pcn0
128.227.47.36 00:10:4b:b5:f7:7f UHLc 1 197 -
pcn0
While no default gateway:
rubikan# ping 128.227.47.1
PING 128.227.47.1 (128.227.47.1): 56 data bytes
64 bytes from 128.227.47.1: icmp_seq=3D0 ttl=3D255 time=3D1.833 ms
64 bytes from 128.227.47.1: icmp_seq=3D1 ttl=3D255 time=3D1.053 ms
^C
----128.227.47.1 PING Statistics----
2 packets transmitted, 2 packets received, 0.0% packet loss
Then adding default:=20
rubikan# route add default 128.227.47.1
rubikan# ping 128.227.47.1
^C
Nothing happens...
DHCP will not get an address either, dhclient complains that network is
down and never gets a reply from the dhcp server.
Any ideas would be greatly appreciated. - Thanks guys -
--
Tony Hernandez
Computer Programmer
Division of Housing
University of Florida=20