Er, forgive me, but how do I delete the routes I don't need?
"route del eth1" ?
thanks,
Ahbaid.
Gordon Messmer wrote:
> Ahbaid Gaffoor wrote:
> > Now, I am setting up ROUTER to do the same, that way I can dedicate it
> > to DNS and Internet connectivity. I plan on going to DSL later, hence
> > the presence of eth1.
>
> Don't configure eth1 until you have DSL, then. It will simplify things
> for now.
>
> > 0.0.0.0 199.1.1.99 0.0.0.0 UG 0 0 0
> > eth1
> > 0.0.0.0 199.1.1.2 0.0.0.0 UG 0 0 0
> > eth0
> > 0.0.0.0 199.1.1.99 0.0.0.0 UG 1 0 0
> > eth1
> > 0.0.0.0 199.1.1.2 0.0.0.0 UG 1 0 0
> > eth0
> > [root@rehanna /root]#
>
> :) How, exactly, did you get two default routes on each ethernet card?
> Did you use linuxconf to set this up? If not, you should have. I
> strongly recommend that you remove the configurations that you have now,
> and start over. Configure only eth0, and don't set a default route on
> that card. Your routing table should look like this:
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 199.1.1.2 0.0.0.0 255.255.255.255 UH 0 0 0
> eth0
> 199.1.1.0 0.0.0.0 255.255.255.0 U 0 0 0
> eth0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
> lo
>
> > However after succesfully establishing a ppp connection, I cannot ping
> > beyond my LAN, note that I can ping the assigned dhcp IP address on
> > ppp0.
>
> I suspect that is because you didn't use linuxconf to configure the ppp
> interface either. PPPD will no longer delete your default route to add
> it's own. Setting "defaultroute" in /etc/ppp/options will not work
> alone.
>
> > [root@rehanna /root]# cat /etc/ppp/options
> > lock
> > crtscts
> > noauth
> > noipdefault
> > asyncmap 0x0
> > defaultroute
>
> Mine has only "lock". the others will be set correctly by linuxconf,
> remove them.
>
> If you aren't familiar with linuxconf, ethernet cards are configured
> under Config-> Networking-> Client Tasks-> Basic host information. PPP
> devices are configured under Config-> Networking-> Client Tasks->
> PPP/SLIP/PLIP.
>
> Once configured correctly, you should be able to use /sbin/ifup and
> /sbin/ifdown to control both your eth0 and ppp0 interfaces. There
> should be no need for any other scripts.
>
> MSG
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.