Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, 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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Umi
    Umi is offline
    Just Joined!
    Join Date
    May 2006
    Posts
    18

    Bridging eth1 and network device problem


    Hi,

    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!

    Code:
    #!/bin/sh
    
    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 0.0.0.0
    ifconfig maniphdr_dev 0.0.0.0
    brctl addbr mybridge
    brctl addif mybridge eth1
    brctl addif mybridge maniphdr_dev
    
    ifconfig mybridge up
    route add 192.168.102.2 dev eth1
    
    brctl show

  2. #2
    Just Joined!
    Join Date
    Jun 2006
    Location
    Pune (India)
    Posts
    6
    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
  •