IP-Aliasing und nat

From: Thomas Gutzler <giggel(at)hadiko.de>
Date: Fri, 8 Feb 2002 20:56:29 +0100

Hallo,

auf meinem Router, der die beiden Netze 172.20.32.0/19 und
192.168.0.0/16 über natd verbindet, habe ich für das nat-Device die IP
172.20.44.176 und 3 Aliase:

# ifconfig
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 172.20.44.176 netmask 0xffffe000 broadcast 172.20.63.255
        inet6 fe80::260:8ff:fe18:d14b%xl0 prefixlen 64 scopeid 0x1
        inet 172.20.49.176 netmask 0xffffe000 broadcast 172.20.63.255
        inet 172.20.54.176 netmask 0xffffe000 broadcast 172.20.63.255
        inet 172.20.59.176 netmask 0xffffe000 broadcast 172.20.63.255
        ether 00:60:08:18:d1:4b
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active

Wenn ich jetz von dem Rechner aus einen seiner Aliase pinge passiert das:
# ping 172.20.49.176
PING 172.20.49.176 (172.20.49.176): 56 data bytes
ping: sendto: Host is down

Von andern Rechnern sind alle IPs pingbar und geben auch reply.

nat funktioniert für alle Rechner.
Jetzt habe ich natd -n xl0 -redirect_address 192.168.0.2 172.20.49.176
gestartet, um die Pakete für 172.20.49.176 komplett zu einem Rechner nach
innen weiter zu leiten. Leider funktioniert das auch nicht.

ipfw blockt nichts und ich weiß nich, was ich noch tun soll.

Tips ?

Gruß, Thomas

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Fri 08 Feb 2002 - 20:56:35 CET

search this site