Pietro Paolini <p.paol...@ext.adbglobal.com> wrote: > My goal is to simulate more than one IP interface using just a physical > interface, for do that I tried using this alias - ifconfing ethX:1 <IP>
"ethX" is your real interface, yes? > But when I try to send a packet over that interface I see the IP source > the same as the original, and real, Ethernet interface. It depends where you're trying to send it to. Consider this addressing: eth0 192.168.1.1 eth0:1 172.16.2.2 Then ping 172.16.2.4 will use 172.16.2.2 as source address, and ping 192.168.1.6 will use 192.168.1.1 as the source address. Chris -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/2h1pi9x12m....@news.roaima.co.uk