From: Tilo Hirsch (support@unternehmen.com)
Date: Tue Dec 10 2002 - 17:57:16 EST
I have a problem setting up virtual interfaces for a new /26 net which I
want to add to a machine. The machine already has virtual interfaces
which are working fine.
I have
- entered new entries in /etc/hosts
- created /etc/hostname.hme0:2
- added a new line in /etc/netmasks for the new network
- rebooted
then I get:
# netstat -rnv
IRE Table: IPv4
Destination Mask Gateway Device Mxfrg
Rtt Ref Flg Out In/Fwd
-------------------- --------------- -------------------- ------ -----
----- --- --- ----- ------
62.116.144.128 255.255.255.192 62.116.144.130 hme0:2 1500*
0 1 U 28 0
62.116.131.0 255.255.255.0 62.116.131.58 hme0 1500*
0 1 U 2 0
62.116.131.0 255.255.255.0 62.116.131.59 hme0:1 1500*
0 1 U 0 0
224.0.0.0 240.0.0.0 62.116.131.58 hme0 1500*
0 1 U 0 0
default 0.0.0.0 62.116.131.1 1500*
0 1 UG 18 0
default 0.0.0.0 62.116.144.129 1500*
0 1 UG 5 0
127.0.0.1 255.255.255.255 127.0.0.1 lo0 8232*
0 2 UH 6 0
and:
# ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 62.116.131.58 netmask ffffff00 broadcast 62.116.131.255
ether 8:0:20:9c:73:59
hme0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500
index 2
inet 62.116.131.59 netmask ffffff00 broadcast 62.255.255.255
hme0:2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500
index 2
inet 62.116.144.130 netmask ffffffc0 broadcast 62.116.144.191
now I can not ping 62.116.144.129 from the machine and thus not
62.116.144.130 from outside.
the 62.116.131.* IP's are all working fine.
Please help.
Tilo
-- ----------------------------------------------- www.unternehmen.com - Internet Service Provider Carl-von-Ossietzky-Str. 34 D-14471 Potsdam Tel: +49-331-95 11 202 Fax: +49-30-690 883 36 Tel: 0800-49 63 343 Email: info@unternehmen.com _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:27 EDT