Results 1 to 1 of 1

Thread: Need Help Bridging 2 interfaces

  1. #1
    Join Date
    Dec 2007
    Ubuntu 12.04 Precise Pangolin

    Need Help Bridging 2 interfaces

    so what i am trying to do is connect my xbox360 through one of my spare ethernet interfaces on my computer running ubuntu 10.10,

    so far i did these steps below

    sudo ifconfig eth0 down
    sudo ifconfig eth1 down
    sudo brctl addbr bridge0
    sudo brctl addif bridge0 eth0
    sudo brctl addif bridge0 eth1
    sudo ifconfig bridge0 netmask
    sudo ifconfig eth0 netmask
    sudo ifconfig eth1 netmask
    sudo iptables -A FORWARD --in-interface eth1 --out-interface eth0 --source -m state --state NEW -j ACCEPT
    sudo iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
    sudo iptables -A POSTROUTING -t nat -j MASQUERADE
    sudo sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward"
    this crates a bridge and bridges the 2 interfaces to the bridg0 but when i try to connect with my xbox360 it says it cant find the DNS server?

    i tried doing it automatically but it wont get the setting automatically.

    my router/gateway is at
    Last edited by sky5564; January 21st, 2011 at 12:51 AM.


Posting Permissions

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