Quote:
Originally Posted by GaWdLy
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