LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-17-2014, 12:10 PM   #1
mehraks9
LQ Newbie
 
Registered: May 2014
Posts: 3

Rep: Reputation: Disabled
Dual NIC configuration in Edubuntu


Dual NIC Edubuntu IBM

I have installed edubuntu on IBM Server X series with two nic.In my setup the eth0 is connected to switch and eth1 is connected to my Belkin router with other windows pc. Client booting is fine with above setup but internet access to other windows pc and wifi devices get disconnected.I have been working on this for last two weeks to sort out the issue but can't.many resources on internet seems to be similar but without amy solution.
What I want is to have net access to all my windows pc as well as edubuntu clients with same router and switch.I have tried modifying network interfaces, ltsp configuration and so on but endup with fresh installation.what if eth1 can be configured to my router ip?
I am setting up computer lab in my school where each pc can pxe boot edubuntu from Ibm server and and normal boot from from local hard disk.
I am running edubuntu 12.04.
kindly suggest any link or help resources....

regards

Last edited by mehraks9; 05-17-2014 at 12:17 PM.
 
Old 05-19-2014, 12:42 AM   #2
GaWdLy
Member
 
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457

Rep: Reputation: Disabled
So you want to use this server as a router, correct? Show us the nic configs, show us the route setup for each nic, have you enabled IP forwarding? What is your iptables config like?
 
Old 05-19-2014, 02:55 AM   #3
mehraks9
LQ Newbie
 
Registered: May 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by GaWdLy View Post
So you want to use this server as a router, correct? Show us the nic configs, show us the route setup for each nic, have you enabled IP forwarding? What is your iptables config like?
ibm@ibm:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 40:f2:e9:33:ef:cd
inet addr:192.168.0.254 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::42f2:e9ff:fe33:efcd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:289 errors:0 dropped:0 overruns:0 frame:0
TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:44434 (44.4 KB) TX bytes:4406 (4.4 KB)
Interrupt:17 Memory:c1a80000-c1aa0000

eth1 Link encap:Ethernet HWaddr 40:f2:e9:33:ef:ce
inet addr:192.168.2.19 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::42f2:e9ff:fe33:efce/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4264 errors:0 dropped:0 overruns:0 frame:0
TX packets:4943 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3162838 (3.1 MB) TX bytes:897634 (897.6 KB)
Interrupt:18 Memory:c1980000-c19a0000

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:846 errors:0 dropped:0 overruns:0 frame:0
TX packets:846 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:108859 (108.8 KB) TX bytes:108859 (108.8 KB)

lxcbr0 Link encap:Ethernet HWaddr 4a:3d:32:2e:d4:99
inet addr:10.0.3.1 Bcast:10.0.3.255 Mask:255.255.255.0
inet6 addr: fe80::483d:32ff:fe2e:d499/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:368 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:29230 (29.2 KB)

usb0 Link encap:Ethernet HWaddr 42:f2:e9:33:ef:d0
inet addr:169.254.95.120 Bcast:169.254.95.255 Mask:255.255.255.0
inet6 addr: fe80::40f2:e9ff:fe33:efd0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13309 errors:0 dropped:0 overruns:0 frame:0
TX packets:13337 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1087995 (1.0 MB) TX bytes:1278171 (1.2 MB)

ibm@ibm:~$ sudo iptables -L
[sudo] password for ibm:
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

ibm@ibm:~$ sudo netstat|more
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 ibm.local:54632 a23-57-235-27.depl:http ESTABLISHED
tcp 0 0 ibm.local:41753 sa-in-f139.1e100.:https ESTABLISHED
tcp 1 1 ibm.local:55774 ec2-46-51-216-25.a:http LAST_ACK
tcp 0 0 ibm.local:52337 sa-in-f154.1e100.n:http ESTABLISHED
tcp 0 0 ibm.local:35290 sa-in-f157.1e100.n:http ESTABLISHED
tcp 0 0 ibm.local:58665 addons-mozilla-or:https TIME_WAIT
tcp 0 0 ibm.local:56491 75.126.162.205:http TIME_WAIT
tcp 0 0 ibm.local:50002 sa-in-f148.1e100.n:http ESTABLISHED
tcp 0 0 ibm.local:56490 75.126.162.205:http TIME_WAIT
tcp 0 0 ibm.local:50727 jumptap.com:http ESTABLISHED
tcp 0 0 ibm.local:42891 ec2-54-244-21-93.u:http TIME_WAIT
tcp 0 0 ibm.local:35443 sa-in-f157.1e100.n:http ESTABLISHED
tcp 0 0 ibm.local:37161 74.121.143.254:http ESTABLISHED
tcp 1 0 ibm.local:39367 mulberry.canonical:http CLOSE_WAIT
tcp 0 0 ibm.local:54590 float.1768.bm-impb:http TIME_WAIT
tcp 0 0 ibm.local:34479 sa-in-f156.1e100.n:http ESTABLISHED
tcp 0 0 ibm.local:38173 74.121.141.85:http ESTABLISHED
tcp 0 0 ibm.local:44186 192.229.145.191:https ESTABLISHED
tcp 0 0 ibm.local:55471 74.121.141.84:http ESTABLISHED
tcp 0 0 ibm.local:34480 sa-in-f156.1e100.n:http TIME_WAIT


Greeting & Thanks for your initiatives.....actually
I dont want it to act like a router as I have windows machine on same Lan and all are connected to internet with Belkin router.Only the problem is when I connect both the NICs of IBM server,the rest of the Windows network machine gets disconnected.I want this server to allow pxe boot when needed otherwise it remain as a edubuntu pxe server with internet connection.
warm regards

Last edited by mehraks9; 05-19-2014 at 03:01 AM.
 
Old 05-19-2014, 09:08 AM   #4
GaWdLy
Member
 
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457

Rep: Reputation: Disabled
Ah yes. I mis-read that.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Dual NIC and routing configuration on CentOS 5.4 bskrakes Linux - Networking 7 04-07-2010 02:53 PM
LXer: Setting Up Dual-Dual NIC Bonding On Ubuntu In 30 Seconds LXer Syndicated Linux News 0 01-22-2009 08:30 AM
Dual Wan Dual Nic Round Robbin Debian Lenny louieb39 Linux - Networking 5 10-30-2008 07:53 AM
Dual NIC Configuration melwade Linux - Hardware 3 10-27-2006 01:41 AM
Binding named to only one NIC of a dual NIC machine - possible? Paul_Randle Linux - Networking 3 08-24-2005 08:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration