Two Interfaces Same Network / Netmask
to the User that emiled me about SPAMING Firewall scripts to this
Netfilter Mailing list , im sorry but i can help it sometimes..... 0_O ???
because people mail in with there questions and i set up the scenario and they say they have problems / errors .. and i do not ....
But i do see your point Bandwidth should be consumed in Moderation .. .lol
Now for my question ... :D
is it possible to have a linux box with IPTables with two nics
one being 172.16.0.1 & the other is 172.16.0.2 both on subnet 255.255.0.0 ???
for some reason it does not work for me ??? it only lets packets down one adapter ???
and last of all if someone would point me in the right direction ill will leave you's alone .. :D lol
does iproute2 allow for you to have say a PPP link and a NIC so that your External Public Address Set
is somehow maybee bridged to the nic and this nick also can be used as the Deafult Gateway for the rest of the Network ?
or do i need IPTABLES /w Bridging which requires kernal patches ect ... ????
Rusty where are you ???
anways can anyone help me ... :D
Interesting question.. First question, why would you want 2 interfaces with addresses on the same network? What is your network setup?
As to your questions:
Quoted 2 lines
for some reason it does not work for me ??? it only lets packets down one adapter ???
Your routing table will chose a single adapter to exit on. You can have two routes to this network using both interfaces but there is no guarentee that packets will enter or leave via the same one without some work. See my later link. Are these interfaces on the same physical ethernet?
Quoted 4 lines
does iproute2 allow for you to have say a PPP link and a NIC so that your External Public Address Set
is somehow maybee bridged to the nic and this nick also can be used as the Deafult Gateway for the rest of the Network ?
You would still run into routing issues that if your PPP connection had an address of 65.65.65.99 and your private network was 172.16.0.0/16 that machines on your network would not know the 65.65.65.99 address. You would have to arp or use NAT. If your PPP is to the internet, you would need to NAT or MASQ the connection as the source address is not routable.