Thank Mohan
     But I would like to specific that my local network only can use rt1 and
only dmz network can use rt2.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of S Mohan
Sent: Tuesday, March 04, 2003 14:11
To: LeafUser
Subject: RE: [leaf-user] How to specified default route for some network?


You can set up routes using ip route add where depending on the destination,
the gateway can be specified.

ip route add x.x.x.x/maskbit via <gw-router-ip> dev eth0

Mohan

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Thitiporn
Pornpirunrak
Sent: 04 March 2003 12:09
To: LeafUser
Subject: [leaf-user] How to specified default route for some network?


Hi all
     I am using bering box with 1.0 Stable. At my "NET" interface, I have
two router (rt1 and rt2). I would like to set my bering box to route like
this could it be possible?
        - From my local netwok, I would like to route it to rt1
        - From my dmz network, I would lik to route it to rt2


                                Local                            RT1 (For
Local Only)
                                        -------->BeringBox ----->
                                DMZ                              RT2 (For DMZ
Only)

Thankz.




-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html




-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to