Also sprach Dejan Grujin (DGrujin(at)b-o-p.de):
> Nur zur Info: die 2 wird ganz normal in der rc.conf aufgerufen mit
> ifconfig_vr0_alias0="inet IP-Adresse mask netzmaske"
> Wenn ich ein ifconfig -a mache finde ich aber das vr0_alias0 nirgends...
Was zeigt es denn an?
Es muss ungefähr so aussehen:
root(at)neutron ~ $ grep alias /etc/rc.conf
ifconfig_xl0_alias2="inet 192.168.0.3 netmask 255.255.255.0"
root(at)neutron ~ $ ifconfig xl0
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
inet6 fe80:1::250:4ff:fe0f:5a27 prefixlen 64
inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
inet 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255
inet 192.168.0.4 netmask 0xffffff00 broadcast 192.168.0.255
ether 00:50:04:0f:5a:27
media: autoselect (100baseTX) status: active
supported media: autoselect 100baseTX <full-duplex> 100baseTX
10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>
alex:~ $ ping privat
PING privat.cichlids.com (192.168.0.3): 56 data bytes
64 bytes from 192.168.0.3: icmp_seq=0 ttl=255 time=0.497 ms
64 bytes from 192.168.0.3: icmp_seq=1 ttl=255 time=0.622 ms
^C
--- privat.cichlids.com ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.497/0.559/0.622/0.062 ms
Alex
PS: Was _ich_ momentan allerdings nicht verstehe ist:
root(at)neutron ~ $ ping privat
PING privat.cichlids.com (192.168.0.3): 56 data bytes
^C
--- privat.cichlids.com ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
root(at)neutron ~ $ ping neutron
PING neutron.cichlids.com (192.168.0.1): 56 data bytes
64 bytes from 192.168.0.1: icmp_seq=0 ttl=255 time=0.169 ms
^C
--- neutron.cichlids.com ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.169/0.169/0.169/0.000 ms
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Fri 11 Aug 2000 - 18:54:43 CEST