Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Routing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
BMP
n00b
n00b


Joined: 16 Dec 2003
Posts: 2

PostPosted: Tue Dec 16, 2003 1:29 pm    Post subject: Routing Reply with quote

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
View user's profile Send private message
metacove
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2003
Posts: 148

PostPosted: Tue Dec 16, 2003 5:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
Digiman
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 116
Location: Mobile, AL

PostPosted: Tue Dec 16, 2003 8:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
LJ
Apprentice
Apprentice


Joined: 27 Dec 2002
Posts: 156

PostPosted: Tue Dec 16, 2003 9:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum