bridge connection and two linux servers

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



I need to set up following network architecture :


                           Internet
                            ^
    +-----------------+     |          +------------------+
    |  Centos6-1      |     |          |      Centos6-2   |
    |      +---- eth0 + ----+          |                  |
    | (br0)|          |                |                  |
    |      +---- eth1 +----------------+ eth0             |
    +-----------------+                +------------------+
                         ( cable connection )


Two public IP's are to be configured like follows :

+ **eth0** and **eth1** of **Centos6-1 are to be configured as a bridge
with IP1
- **Centos6-1** can be accessed with IP1
- **eth0** of **Centos6-2** is configured with IP2
- any request destined to IP2 will flow through **Centos6-1**

How can i accomplish this feat?



There is a service running in the second server. This service will bind to
IP2. what will happen


If i do the following in box1:

    brctl addbr br0
    ifdown eth0
    ifdown eth1
    ifconfig eth0 0.0.0.0 up
    ifconfig eth1 0.0.0.0 up
    ifconfig br0 IP1 ****

would it do what i want?

Thanks in advance.

-- 
-aft
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux