Internet----Firewall/NAT----Switch----Weserver and Backup server
Webserver has 2 NIC: eth0: 192.168.1.200/24 eth1: 192.168.1.100/24 NAT rule on firewall: forward public IP to 192.168.1.200
Every night, I backup my server using eth1 (configured it in my backup software) and this works well.
The problem is the use of eth0: when I browse on a website hosted on my server from a computer at home, the request goes to eth0 (as configured in my firewall), but the return datas are sent through eth1 (it should of course be eth0)! Look at the ifconfig just after: eth0 TX is just 128Kb and all the traffic is gone through eth1 :-(
Does anyone have an idea how to fix it? Eth0 should be used all the time and eth1 sould be used only for backup.
[root@alpha root]# ifconfig eth0 Link encap:Ethernet HWaddr 00:04:75:E5:99:F3 inet addr:192.168.1.200 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:18408 errors:0 dropped:0 overruns:0 frame:0 TX packets:706 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:1894008 (1.8 Mb) TX bytes:131280 (128.2 Kb) Interrupt:10 Base address:0xa000
eth1 Link encap:Ethernet HWaddr 00:0C:6E:62:3D:01 inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:64333 errors:0 dropped:0 overruns:0 frame:0 TX packets:278064 errors:0 dropped:0 overruns:0 carrier:278604 collisions:0 txqueuelen:100 RX bytes:7950712 (7.5 Mb) TX bytes:237387934 (226.3 Mb) Interrupt:10 Memory:f6800000-f6801080
-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list