View previous topic :: View next topic |
Author |
Message |
BMP n00b
Joined: 16 Dec 2003 Posts: 2
|
Posted: Tue Dec 16, 2003 1:29 pm Post subject: Routing |
|
|
We need to route br0 (192.168.1.1) with eth2 (192.168.113.20), how do we do that?
The brigde needs to connect with the with network on eth2 |
|
Back to top |
|
|
metacove Tux's lil' helper
Joined: 09 Apr 2003 Posts: 148
|
Posted: Tue Dec 16, 2003 5:07 pm Post subject: |
|
|
You are going to have to include more details if you want us to be able to remotely answer that question.
If you can do an ascii diagram of the networks. And explain in more detail what you are trying to achieve. |
|
Back to top |
|
|
Digiman Tux's lil' helper
Joined: 01 Jul 2002 Posts: 116 Location: Mobile, AL
|
Posted: Tue Dec 16, 2003 8:43 pm Post subject: |
|
|
probably something like:
Code: |
route add -net 192.168.113.0 netmask 255.255.255.0 gw eth2
|
There are more examples if you type 'man route' _________________ -- Digiman |
|
Back to top |
|
|
LJ Apprentice
Joined: 27 Dec 2002 Posts: 156
|
Posted: Tue Dec 16, 2003 9:16 pm Post subject: |
|
|
This is actually fairly tricky. You're going to have to enable a lot of options in your kernel (802.1d eth bridging, connection tracking, iptables support, WAN router, etc).
Then, you need to set IPtables to forward packets from one physical device to the other. You'll need to man IPtables on this. I did it once before but I don't have access to that system right now. |
|
Back to top |
|
|
|