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.