IP Alias with iptables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi:

I have only one network adapter in my Server, but i need to have 2 different
networks, 192.168.1.0 to the MAC addresses i know and 192.168.0.0 to the MAC
addresses i dont't know, i have managed this by makin mi eth0 to 192.168.1.1
and an alias eth0:0 to 192.168.0.1, everythings ok, but i'm also sharing
internet, but when i start the rule to the eth0:0 it sends me an error. Is
there a way to use IP Aliasing with iptables? if not, is there a way to
create an eth0 and eth1 witn the same adapter?

Thanks

Rodrigo



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux