Thitiporn,

It would be nice if you posted in plain text to ask your questions
rather than base64 encoding them.  Plain text is easier for many of
us to read and reply to.  Anyway, on to your route question...

Thitiporn wrote:

> >      I would like to add static route on my bering box. I try to add
> > them on Network Configuration menu and interfaces like this
  [..]
> >             up ip route add 192.168.11.0 via 192.168.11.1 eth1

On Mon, 02 Dec 2002 14:18:38 +1030 Andrew Braund wrote:

> Once you had edited the file in Network Configuration, did
> you then backup the etc package?
> b:3

You should also check the syntax of the command by running it
manually:

  homefw: -root-
  # ip route add 192.168.11.0 via 192.168.11.1 eth1
  Error: either "to" is duplicate, or "eth1" is a garbage.

You might want:

  ip route add 192.168.11.0/24 via 192.168.11.1 dev eth1
                           ^^^                  ^^^
assuming you are trying to add a network route for a /24 network.
If you don't already have an interface defined in the 192.168.11.0
network, you will probably need:

  ip route add 192.168.11.1 dev eth1                    

or similar first.  There should be several posts in the leaf-user
archive[1] on static routes under Bering if you need more or more
complete examples.

--Brad

[1] http://www.mail-archive.com/leaf-user%40lists.sourceforge.net/



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
------------------------------------------------------------------------
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