IP alias och source IP

Mattias Barthel mb at stacken.kth.se
Sun Apr 27 14:19:09 CEST 2008


Hej,

FreeBSD.

Kan man ändra/sätta utgående IP-address i fall av ip aliasing?


$ ifconfig
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 89.131.129.100 netmask 0xfffff000 broadcast 89.131.143.255
        inet 10.0.0.1 netmask 0xffffffff broadcast 10.0.0.1
        ether 00:60:08:54:a8:6a
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active


$ ping modem
PING modem (10.0.0.138): 56 data bytes
^C
--- modem ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss
$                                                             

# tcpdump -i xl0 host 10.0.0.138
tcpdump: listening on xl0
14:15:38.628117 89.131.129.100 > modem: icmp: echo request
14:15:39.638001 89.131.129.100 > modem: icmp: echo request
14:15:40.648016 89.131.129.100 > modem: icmp: echo request
14:15:41.658026 89.131.129.100 > modem: icmp: echo request
14:15:42.668046 89.131.129.100 > modem: icmp: echo request


Mvh,

Mattias


More information about the BUS mailing list