Actually I want to put two static routes permanently. How do I do this? I tried
ifconfig hdlc0 blah blah and it works fine for the first route. When I do the
second route using ifconfig hdlc0 blah2 blah2 then it will just overwrite the first
hdlc route.
Again I already added the routes in /etc/sysconfig/static-routes. Any suggestions?
Thanks!
Jun Tanamal
OOoooppssss.....The line with OSPF is not yet configured but we are able to use the
proxy server temporarily. Is it fair to have a download speed of not less than
9kbps as displayed by the browser indicator?
"Horatio B. Bogbindero" wrote:
> >
> > > Hi! does it mean that when I issue the command line ifup hdlc0 it uses
> > rc.local?
> > > anyway I'll try it.
> >
> this command will load the route for that respective interface but not the
> default route. for example, if hdlc0 refers to 192.168.0.0/24 then with
> the 2.2.x kernels it will automatically load the 192.168.0.0/24 network
> route. however, in the 2.0.x kernels this is done manually.
>
> > Uhm, I think I finally get what you mean by "restarting". You're trying to
> > bring up the interface (and the routes) by issuing ifup blah blah
> > blah....that would be the (partially) wrong way of doing it. First off,
> > bring up the interface using the ifconfig command as in "ifconfig hdlc0 <ip
> > address> netmask <netmask> <other options> up". That would bring the
> > interface up. Next add the static routes using the route command as in
> > "route add -net <network address> <etc. etc. etc.>". For more info do a
> > "man ifconfig" and "man route".
> >
> ifconfig hdlc0 up is a valid way of setting up an interface IF the
> interface has already been setup during that particular boot period. for
> example:
>
> ifconfig hdlc0 192.168.0.1 netmask 255.255.255.0
> ifconfig hdlc0 down # brings this particular interface down
> ifconfig hdlc0 up # brings back up the same interface
>
> it is important to note that in 2.0.x kernel to setup the machine to
> access the LAN:
>
> ifconfig hdlc0 192.168.0.1 netmask 255.255.255.0
> route add -net 192.168.0.0 netmask 255.255.255.0 eth0
>
> in the 2.2.x kernels:
>
> ifconfig hdlc0 192.168.0.1 netmask 255.255.255.0
>
> if you use the redhat scripts, these are found in the
> /etc/sysconfig/network-scripts/ folder and to restart networking (all
> networking) do a /etc/rc.d/init.d/network restart
>
> > > Oh by the way our lease-line to the websat is already working. The sysad
> > just let
> > > us use their proxy server. at least we are getting fast access now but we
> > still
> >
> > Are you sure its a proxy server (e.g. SOCKS) or just a cache server (e.g.
> > Squid)?
>
> squid can serve as both a proxy and cache server that is why it is called
> a proxy-cache. it is possible to setup squid to do both the functions of a
> socks server and a regular caching server. matter of config lang to.
>
> > In any case, their dictating what you can and cannot do with the
> > line you supposedly leased from them and therefore IMHO, the line STILL
> > isn't working. Then again, maybe that's what you want.
> >
> amen. with a proxy/cache or both they are limiting your use of this leased
> line to these services. however, since the line is not fully functional
> yet i think this is good solution for now.
>
> good luck.
>
> --------------------------------------
> William Emmanuel S. Yu
> Ateneo Cervini-Eliazo Networks (ACENT)
> email : [EMAIL PROTECTED]
> web : http://cersa.admu.edu.ph/
> phone : 63(2)4266001-5925/5904
>
> A consultant is a person who borrows your watch, tells you what time it
> is, pockets the watch, and sends you a bill for it.
>
>
> _
> Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]