* Two Interfaces Same Network / Netmask
@ 2002-06-10 20:37 Hard__warE
2002-06-11 15:03 ` Jason Pappas
0 siblings, 1 reply; 3+ messages in thread
From: Hard__warE @ 2002-06-10 20:37 UTC (permalink / raw)
To: netfilter
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Two Interfaces Same Network / Netmask
2002-06-10 20:37 Two Interfaces Same Network / Netmask Hard__warE
@ 2002-06-11 15:03 ` Jason Pappas
0 siblings, 0 replies; 3+ messages in thread
From: Jason Pappas @ 2002-06-11 15:03 UTC (permalink / raw)
To: netfilter
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:
> 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?
> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Two Interfaces Same Network / Netmask
@ 2002-06-11 19:05 Hard__warE
0 siblings, 0 replies; 3+ messages in thread
From: Hard__warE @ 2002-06-11 19:05 UTC (permalink / raw)
To: netfilter; +Cc: jpappas
Re: Two Interfaces Same Network / Netmask..
yer thats my Problem the kenel selects the path, then from there you have no
control of packets on which adapetr they leave ect ...
yes both Adapters will be on the same Physical Network / Ethernet
and about my IPROUTE question i belive what is going to be alot better for
me ... :D
im going to use either Zebra or Gated as BGP / RiP and OSPF Router that will
notify
all its peer Routers (eg my ISP's Router) that it is the gateway to access
that Entire Class C
Network i own ... :D
then i can have a IPTABLES box /w Bridgeing, that will allow me to Drop
packets
Redirect / LOG Packets , while still acting as the Bridge from my Local
Lan to my BGP Router which
will be my Deafult Gateway to the net ...
thanks for ya Help eveyone on reminding me what a BGP Router does / is ....
lol
damm brain has had to much lack of Rest while ive been working on this
Project ... lol .. :D
catch yas ..
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-06-11 19:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-10 20:37 Two Interfaces Same Network / Netmask Hard__warE
2002-06-11 15:03 ` Jason Pappas
-- strict thread matches above, loose matches on Subject: below --
2002-06-11 19:05 Hard__warE
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox