Results 1 to 2 of 2
Hello,
I have ported linux kernel 2.6.19 on my embedded device. The device has two network interfaces, eth0 - ethernet and eth1 - wireless LAN.
I need to achieve following ...
- 02-23-2010 #1Just Joined!
- Join Date
- Nov 2006
- Location
- Harrisburg, PA, USA
- Posts
- 56
Need::Wireless LAN and LAN network interfaces to work simultaneously in one network
Hello,
I have ported linux kernel 2.6.19 on my embedded device. The device has two network interfaces, eth0 - ethernet and eth1 - wireless LAN.
I need to achieve following network topology.
PC1[192.168.254.100]->Cross over ethernet cable -> eth0 interface of device[192.168.254.254]
PC2[192.168.254.250]->ethernet cable->wireless access point[192.168.254.1]->wireless LAN eth1 interface of device [192.168.254.253]
I want PC1 to ping eth0 of device and PC2 to ping wireless LAN interface of device at the same time. I am not able to ping both of them.
I tried to enable advance IP router configuration in linux kernel. I also tried several /proc/sys/net/ipv4/conf/<interfaces> variables. But at a time only one interface works.
If I configure both of them in different network, eth0 in 192.168.254.254 and eth1 in 10.110.2.4 both works simultaneously. I suspect it is related to managing kernel routing tables.
This is what I need to achieve.
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.254.1 255.255.255.0 UG 0 0 0 eth0/eth1
192.168.254.0 * 255.255.255.0 U 0 0 0 eth1
192.168.254.0 * 255.255.255.0 U 0 0 0 eth0
In the first line, if eth0 interface is not available, the kernel should forward packets through eth1and vice versa. I did not find a way to achieve this.
How should I achieve this?
Thanks.
Regards,
Sumit
- 02-23-2010 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,099
Hello
Please stop with all the duplicate threads because they are not allowed on the forums:
http://www.linuxforums.org/forum/lin...ums-rules.html
Feel free to continue any discussion regarding this matter in your other thread on this topic.
Thank you.oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.


