#1  
Old 28th September 2009, 09:06
warlock warlock is offline
Member
 
Join Date: Nov 2008
Posts: 93
Thanks: 1
Thanked 6 Times in 4 Posts
Default Installing a 2nd NIC

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.

Last edited by warlock; 28th September 2009 at 09:29.
Reply With Quote
Sponsored Links
  #2  
Old 29th September 2009, 14:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

What are the outputs of
Code:
ifconfig
and
Code:
route -nee
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 29th September 2009, 16:04
warlock warlock is offline
Member
 
Join Date: Nov 2008
Posts: 93
Thanks: 1
Thanked 6 Times in 4 Posts
Default

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
Reply With Quote
  #4  
Old 29th September 2009, 18:37
warlock warlock is offline
Member
 
Join Date: Nov 2008
Posts: 93
Thanks: 1
Thanked 6 Times in 4 Posts
Default

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.

Last edited by warlock; 29th September 2009 at 18:47.
Reply With Quote
  #5  
Old 29th September 2009, 19:03
Franz Franz is offline
Senior Member
 
Join Date: Jul 2009
Location: Cakovec
Posts: 117
Thanks: 7
Thanked 24 Times in 18 Posts
Send a message via Skype™ to Franz
Default

you have 2 default gateways...
__________________
my PAGE
VoIP
my IT help blog
Reply With Quote
  #6  
Old 29th September 2009, 19:30
warlock warlock is offline
Member
 
Join Date: Nov 2008
Posts: 93
Thanks: 1
Thanked 6 Times in 4 Posts
Default

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 ?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Server Setup With Exim, MySQL, Cyrus-Imapd, Horde Webmail On Centos 5.1 - works? gsp HOWTO-Related Questions 124 21st April 2010 20:53
watchdog_task: NIC Link is Up 10 Mbps Full Duplex Chad Server Operation 0 8th October 2008 03:04
installing two NIC cards kirim Tips/Tricks/Mods 1 7th October 2007 19:53
Problems with installation on openSUSE 10.2 douglaslopezt Installation/Configuration 3 24th August 2007 22:04
About 2nd NIC satimis Server Operation 1 23rd August 2007 09:40


All times are GMT +2. The time now is 14:16.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.