Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Harrisburg, PA, USA

    Need::Wireless LAN and LAN network interfaces to work simultaneously in one network


    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[]->Cross over ethernet cable -> eth0 interface of device[]
    PC2[]->ethernet cable->wireless access point[]->wireless LAN eth1 interface of device []

    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 and eth1 in 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 UG 0 0 0 eth0/eth1 * U 0 0 0 eth1 * 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?



  2. #2
    Join Date
    May 2004
    arch linux

    Please stop with all the duplicate threads because they are not allowed on the forums:

    Feel free to continue any discussion regarding this matter in your other thread on this topic.

    Thank you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts