Hi All, I have installed a second nic card into my server it is running ubuntu 8.10 and ispconfig 2.x, When I enabled the the second card, we are unable to connect to the server via http or smtp. I have not changed any config files yet ? Just to add, I have install VMware Server and ISPConfig 3.x on a VM, I am wanting to use the 2nd nic on the VM, curerntly my router forwards all ISPConfig traffic to NIC1, I have "or will give" NIC2 an IP which I can slowly migrate domain to the new ISPCONFIG server and direct the traffic to that IP.
IFci Code: eth0 Link encap:Ethernet HWaddr 00:15:17:60:c8:b0 inet addr:192.168.1.250 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::215:17ff:fe60:c8b0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1053 errors:0 dropped:0 overruns:0 frame:0 TX packets:950 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:109181 (109.1 KB) TX bytes:193280 (193.2 KB) Memory:b8820000-b8840000 eth0:0 Link encap:Ethernet HWaddr 00:15:17:60:c8:b0 inet addr:192.213.164.26 Bcast:192.213.164.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Memory:b8820000-b8840000 eth1 Link encap:Ethernet HWaddr 00:15:17:60:c8:b1 inet addr:196.21x.16x.2x Bcast:19x.21x.16x.31 Mask:255.255.255.248 inet6 addr: fe80::215:17ff:fe60:c8b1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:9969 errors:0 dropped:0 overruns:0 frame:0 TX packets:7625 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:13197974 (13.1 MB) TX bytes:559917 (559.9 KB) Memory:b8800000-b8820000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:1737 errors:0 dropped:0 overruns:0 frame:0 TX packets:1737 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:450088 (450.0 KB) TX bytes:450088 (450.0 KB) vmnet1 Link encap:Ethernet HWaddr 00:50:56:c0:00:01 inet addr:172.16.210.1 Bcast:172.16.210.255 Mask:255.255.255.0 inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:25 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) vmnet8 Link encap:Ethernet HWaddr 00:50:56:c0:00:08 inet addr:172.16.220.1 Bcast:172.16.220.255 Mask:255.255.255.0 inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:24 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) route -nee Code: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface MSS Window irtt 196.21x.16x.24 0.0.0.0 255.255.255.248 U 0 0 0 eth1 0 0 0 192.213.164.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0 0 0 172.16.210.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet1 0 0 0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0 0 0 172.16.220.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet8 0 0 0 0.0.0.0 196.21x.16x.25 0.0.0.0 UG 100 0 0 eth1 0 0 0 0.0.0.0 192.168.1.1 0.0.0.0 UG 100 0 0 eth0 0 0 0
Just a little more explination The server1 has 2 nic's It is sitting behind router2 which is plugged into router1 which is connected to a thrid internet router with 5 ip's Internet router IP x.x.x.25 (LAN SIDE) Router1 - WAN x.x.x.27 & LAN 10.10.0.1 Router2 - WAN 10.10.0.2 & LAN 192.168.1.1 eth0 192.168.1.250 I want to migrate to ISPConfig3 on a VM on the server1 I want to setup eth1 with IP x.x.x.26 so that it's internet facing and then I can slowly change DNS to point to the new IP as I mirgate the domains and sites. Another options is to use apache and somehow mail routing. but this I don't know how to do either. The VM ca use eth0 or eth1 for traffic. so which ever is easier as this is temp till the migration is complete.
I understands this but how do I configure it that if traffic comes in on eth0 it should also got out on eth0 and the same for eth1 ?
I would also like to know the answer to this question. I am having a similar problem with 2 NIC's. In my case though it appears only the LAN gateway shows and not a the real WAN gateway IP. Art