Praveen Jambur(deleted)
|
Re: Setting up a device as Router
|
Praveen Jambur(deleted)
10/28/2013 10:36 AM
post106316
|
Re: Setting up a device as Router
yes acting as a bridge is what I am looking at and have tried too. That is why the promiscous mode is on. But I am not
sure why the packets are not getting through?!
%%%%%%%%%%%%%%% START io-pkt %%%%%%%%%%%%%%%
# io-pkt-v4-hc -v -d ep93xx -d asix -t2 &
%%%%%%%%%%%%%%% configure bridge %%%%%%%%%%%%%%%
# ifconfig bridge0 create
# brconfig bridge0 add en1 add en0 up
# brconfig -a
bridge0: flags=41<UP,RUNNING>
Configuration:
priority 32768 hellotime 2 fwddelay 15 maxage 20
ipfilter disabled flags 0x0
Interfaces:
en0 flags=3<LEARNING,DISCOVER>
port 3 priority 128
en1 flags=3<LEARNING,DISCOVER>
port 2 priority 128
Address cache (max cache: 100, timeout: 1200):
%%%%%%%%%%%%%%% start dhcp client for en1 %%%%%%%%%%%%%%%
# dhcp.client -i en1 &
# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192
inet 127.0.0.1 netmask 0xff000000
en1: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
address: 00:16:80:00:7a:d3
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 10.11.148.225 netmask 0xfffffe00 broadcast 10.11.149.255
en0: flags=80008902<BROADCAST,PROMISC,SIMPLEX,MULTICAST,SHIM> mtu 1500
address: 48:f8:b3:2b:20:d5
media: Ethernet 100baseTX full-duplex
status: active
bridge0: flags=41<UP,RUNNING> mtu 1500
#
|
|
|