* Mapping multiple interfaces to a single IP address
@ 2009-10-01 10:30 Javier Gálvez Guerrero
2009-10-01 16:06 ` Gáspár Lajos
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Javier Gálvez Guerrero @ 2009-10-01 10:30 UTC (permalink / raw)
To: netfilter
Hi there,
I would like to know if it is possible to map multiple network
interfaces into a single IP address in order to perform load balancing
and network channels virtualization/abstraction tasks. If so, could
you please point me to the proper iptables modules that are needed in
client and routing elements?
Thanks,
Javi
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Mapping multiple interfaces to a single IP address
2009-10-01 10:30 Mapping multiple interfaces to a single IP address Javier Gálvez Guerrero
@ 2009-10-01 16:06 ` Gáspár Lajos
2009-10-01 16:11 ` Mapping multiple interfaces to a single IP address (cont.) Gáspár Lajos
2009-10-01 16:17 ` Gáspár Lajos
2 siblings, 0 replies; 4+ messages in thread
From: Gáspár Lajos @ 2009-10-01 16:06 UTC (permalink / raw)
To: Javier Gálvez Guerrero; +Cc: netfilter
Hi,
Javier Gálvez Guerrero írta:
> Hi there,
>
> I would like to know if it is possible to map multiple network
> interfaces into a single IP address in order to perform load balancing
> and network channels virtualization/abstraction tasks. If so, could
> you please point me to the proper iptables modules that are needed in
> client and routing elements?
>
You may have the same ip address on multiple interfaces.
I have a following setup:
br1 Link encap:Ethernet
inet addr:172.16.1.254 Bcast:172.16.1.255 Mask:255.255.254.0
...
lan1 Link encap:Ethernet
inet addr:172.16.1.254 Bcast:172.16.1.255 Mask:255.255.254.0
...
vpn-bia Link encap:UNSPEC
inet addr:172.16.1.254 P-t-P:192.168.10.254 Mask:255.255.255.255
...
In this scenario I have three physical NICs: lan1, wan1, mfl1.
I have also some vlans.
lan1 connected to the local subnet.
br1 consist of vlan100 and vpn1. These are virtual interfaces.
The endpoint of vpn1 is on wan1. vlan100 is on lan1.
vpn-bia is a tunnel over the mfl1 connection.
So it is all working. But you have to have some routing rules.
These are mine:
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Mapping multiple interfaces to a single IP address (cont.)
2009-10-01 10:30 Mapping multiple interfaces to a single IP address Javier Gálvez Guerrero
2009-10-01 16:06 ` Gáspár Lajos
@ 2009-10-01 16:11 ` Gáspár Lajos
2009-10-01 16:17 ` Gáspár Lajos
2 siblings, 0 replies; 4+ messages in thread
From: Gáspár Lajos @ 2009-10-01 16:11 UTC (permalink / raw)
To: Javier Gálvez Guerrero; +Cc: netfilter
Sorry for the unfinished e-mail... :D
...
So it is all working. But you have to have some routing rules.
These are mine:
Destination Gateway Genmask Flags Iface
192.168.10.254 0.0.0.0 255.255.255.255 UH vpn-bia
172.16.1.240 0.0.0.0 255.255.255.255 UH lan1
172.31.255.248 0.0.0.0 255.255.255.248 U mfl1
172.16.0.0 0.0.0.0 255.255.254.0 U br1
0.0.0.0 0.0.0.0 0.0.0.0 U ppp0
Swifty
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Mapping multiple interfaces to a single IP address (cont.)
2009-10-01 10:30 Mapping multiple interfaces to a single IP address Javier Gálvez Guerrero
2009-10-01 16:06 ` Gáspár Lajos
2009-10-01 16:11 ` Mapping multiple interfaces to a single IP address (cont.) Gáspár Lajos
@ 2009-10-01 16:17 ` Gáspár Lajos
2 siblings, 0 replies; 4+ messages in thread
From: Gáspár Lajos @ 2009-10-01 16:17 UTC (permalink / raw)
To: Javier Gálvez Guerrero; +Cc: netfilter
Sorry for the unfinished e-mail... :D
...
So it is all working. But you have to have some routing rules.
These are mine:
Destination Gateway Genmask Flags Iface
192.168.10.254 0.0.0.0 255.255.255.255 UH vpn-bia
172.16.1.240 0.0.0.0 255.255.255.255 UH lan1
172.31.255.248 0.0.0.0 255.255.255.248 U mfl1
172.16.0.0 0.0.0.0 255.255.254.0 U br1
0.0.0.0 0.0.0.0 0.0.0.0 U ppp0
Swifty
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-10-01 16:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-01 10:30 Mapping multiple interfaces to a single IP address Javier Gálvez Guerrero
2009-10-01 16:06 ` Gáspár Lajos
2009-10-01 16:11 ` Mapping multiple interfaces to a single IP address (cont.) Gáspár Lajos
2009-10-01 16:17 ` Gáspár Lajos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).