Hello,
I have a working setup that forwards traffic between my local LAN and a PPP connection connected via USB.
I'm trying to move my ADSL modem onto my new Router so that can operate it, and allow me to connect via wireless when my other machines are off.
However, after following
this guide I cannot connect to the router web management page (192.168.0.5, it was default 192.168.0.1).
Here's what I'm doing.
Code:
Slackware System
--------------------------------
| |
LAN ----> | eth0 -- Bridge br0 ? -- eth2 | ----> Router
| |
--------------------------------
( "---->" = standard ethernet cable ).
# Setup my LAN ethernet card.
ifconfig eth0 192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255
# Set my second ethernet card (in the same machine).
ifconfig eth2 192.168.0.4 netmask 255.255.255.0
# Setup a bridge.
brctl addbr br0 2&> /dev/null
brctl addif br0 eth0 2&> /dev/null
brctl addif br0 eth2 2&> /dev/null
brctl stp br0 off 2&> /dev/null
# Set the bridge interface.
ifconfig br0 192.168.0.6 netmask 255.255.255.0
# Routing table.
$ route -n
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
# I tried adding this, but I still get no response.
route add default gw 192.168.0.5 eth2
What am I doing wrong ?
DJ Barney