Networking Forums

Networking Forums > Computer Networking > Linux Networking > 3 Network cards in one PC, Routing Problem

Reply
Thread Tools Display Modes

3 Network cards in one PC, Routing Problem

 
 
Christian Hennrich
Guest
Posts: n/a

 
      11-10-2003, 10:26 PM
Hi

i set up an Suse 9.0 Server(Router). there are 3 networkcards 1 is
connected to my DSL Modem 1(eth1 192.168.1.0), the other is connected to
my LAN (eth0 in 192.168.0.0) und the third one is DLINK DWL 520 Wlan
(wlan0 in 192.168.2.0) Card. I formed a small ad-hoc network where 2
Laptops are connected. the routing between DSL(eth1) und LAN(eth0) is
working. it is not possible to ping the laptop from the server and
back(laptop -> server). the link between laptop and server is
established, if only the wirless network cards are enabled, you can ping
.. it seems that it is a routing problem. i tried around without success.

the wireless configuration is working, i tried it succesful on my campus.

here is the routing of my server and laptop and the ifconfigs
the eth0 in my laptop should not be used. only the wlan0.

laptop:

eth0 Protokoll:Ethernet Hardware Adresse 00:C0:9F:28:9E4
inet Adresse:192.168.0.5 Bcast:192.168.0.255
Maske:255.255.255.0
inet6 Adresse: fe80::2c0:9fff:fe28:9ed4/64
Gültigkeitsbereich:Verbindung
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1865732 errors:0 dropped:179 overruns:0 frame:0
TX packets:646021 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:100
RX bytes:2657957497 (2534.8 Mb) TX bytes:111024089 (105.8 Mb)
Interrupt:11 Basisadresse:0xe200

wlan0 Protokoll:Ethernet Hardware Adresse 00:80:C8:18:6C:87
inet Adresse:192.168.2.2 Bcast:192.168.2.255
Maske:255.255.255.0
inet6 Adresse: fe80::280:c8ff:fe18:6c87/64
Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:1 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:100
RX bytes:0 (0.0 b) TX bytes:140 (140.0 b)
Interrupt:11 Basisadresse:0x4000

192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0
wlan0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0



server

eth0 Link encap:Ethernet HWaddr 00:50:04:4D:66:1C
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::250:4ff:fe4d:661c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:29001 errors:0 dropped:0 overruns:0 frame:0
TX packets:52778 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:4390522 (4.1 Mb) TX bytes:70045663 (66.8 Mb)
Interrupt:10 Base address:0xd400

eth1 Link encap:Ethernet HWaddr 00:00:E8:55:94:54
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::200:e8ff:fe55:9454/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:217040 errors:0 dropped:0 overruns:0 frame:0
TX packets:221420 errors:0 dropped:0 overruns:0 carrier:0
collisions:201 txqueuelen:100
RX bytes:79741762 (76.0 Mb) TX bytes:51339028 (48.9 Mb)
Interrupt:10 Base address:0xcc00

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:964 errors:0 dropped:0 overruns:0 frame:0
TX packets:964 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:150000 (146.4 Kb) TX bytes:150000 (146.4 Kb)

ppp0 Link encap:Point-to-Point Protocol
inet addr:217.229.216.95 P-t-P:217.5.98.35 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:215957 errors:0 dropped:0 overruns:0 frame:0
TX packets:220075 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:74482847 (71.0 Mb) TX bytes:45707572 (43.5 Mb)

wlan0 Link encap:Ethernet HWaddr 00:80:C8:13:261
inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::280:c8ff:fe13:26d1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:78 (78.0 b)
Interrupt:5 Base address:0xd000

217.5.98.35 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0
wlan0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 217.5.98.35 0.0.0.0 UG 0 0 0 ppp0


i hope someone is able to help me.

thx

 
Reply With Quote
 
 
 
 
not availible
Guest
Posts: n/a

 
      11-12-2003, 10:32 AM
numbers look good, but private subnets are by design non routed,
So look at firewall rules, or DNS settings on the server first.


 
Reply With Quote
 
Christian Hennrich
Guest
Posts: n/a

 
      11-12-2003, 06:19 PM
not availible schrieb:
> numbers look good, but private subnets are by design non routed,
> So look at firewall rules, or DNS settings on the server first.


thx to you, i figured out, that it was the firewall and the maquerading.
the wlan0 was not configured to be an internal device. Setting
SuSEFirewall2 to quickmode and evrything was fine. I put the wlan0
device as internal doesn't change anything. but I'm confident to find
the problem and i will post it here.

regards


 
Reply With Quote
 
 
 
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Routing problem with 2 ethernet cards - adsl router on first andlocalnet on second D.Campagna Linux Networking 3 10-26-2007 05:19 PM
Routing problem with 2 ethernet cards - adsl router on first andlocalnet on second D.Campagna Linux Networking 0 10-26-2007 04:51 PM
Routing problem with 2 ethernet cards - adsl router on first andlocalnet on second D.Campagna Linux Networking 0 10-18-2007 02:30 PM
Routing problem with two network cards Pete Melbourne Wireless Internet 2 03-20-2005 03:49 AM
local routing between two network cards? Pete Linux Networking 19 02-16-2005 01:46 AM



1 2 3 4 5 6 7 8 9 10 11