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

    Bridging eth1 and network device problem


    I am having trouble bridging my network device to a ethernet card. This is the script which I have so far but doesn't seem to ick up any TCP or UDP packets. It only receives ARP packets. If anyone can help, Thank you!

    export PATH=/sbin:/bin:/usr/local/sbin
    # Use a pathname, as new modutils don't look in the current dir by default
    echo "1" > /proc/sys/net/ipv4/ip_forward 
    insmod ./maniphdr_dev.ko
    ifconfig maniphdr_dev local0
    #Bridge Interface Script
    ifconfig eth1
    ifconfig maniphdr_dev
    brctl addbr mybridge
    brctl addif mybridge eth1
    brctl addif mybridge maniphdr_dev
    ifconfig mybridge up
    route add dev eth1
    brctl show

  2. #2
    Just Joined!
    Join Date
    Jun 2006
    Pune (India)
    try neat command
    and use GUI to add
    may this will help 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