Hi

no, it should be:
> route add default next hop bcm600
route add default gateway bcm600 

or even better, exchange bcm600 with the ip address of the real next hop
(router)

-------------------
Arie Vayner
Netvision - Networking Department
http://www.netvision.net.il
email: [EMAIL PROTECTED]
voice: 972-4-8560402
fax:   972-4-8550345

On Tue, 9 May 2000, Mohamed Lemine O/ Sidaty wrote:

> Date: Tue, 9 May 2000 18:03:18 -0000
> From: Mohamed Lemine O/ Sidaty <[EMAIL PROTECTED]>
> To: David Lipovkov <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: Please Help routing configuration
> 
> Hi David
> But what is the exact syntax of this command
> route add default next hop bcm600
> each time i give this command i get a syntax error .
> Can you please give the exact systax .
> 
> Regards
> sidaty
> 
> 
> ----- Original Message -----
> From: David Lipovkov <[EMAIL PROTECTED]>
> To: Mohamed Lemine O/ Sidaty <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Tuesday, April 04, 2000 9:17 AM
> Subject: Re: Please Help routing configuration
> 
> 
> > Hi,
> > > my internet gateway bcm600 has local ip adress 172.16.4.60
> > > another machine called mail wich has 172.16.4.17 as its local ip adress
> > >
> > > 193.251.145.29 is my domain ip adresse , my provider is 193.251.145.250
> > > i reach it without difficulty with a PPP link as it can be seen in the
> following route command output :
> > >
> > > [root@bcm600 /etc]# route
> > > Kernel IP routing table
> > > Destination            Gateway         Genmask         Flags Metric Ref
> Use Iface
> > > bcm600                  *               255.255.255.255    UH    0
> 0        0 eth0
> > > 193.251.145.250    *               255.255.255.255   UH    0      0
> 0 ppp0
> > > 172.16.0.0              *               255.255.0.0          U     0
> 0        0 eth0
> > > 127.0.0.0               *               255.0.0.0               U     0
> 0        0 lo
> > > default         193.251.145.250 0.0.0.0                   UG    0      0
> 0 ppp0
> > >
> > > my named run on the above machine.
> > >
> > > here the route command output for the machine mail
> > > [root@mail /etc]# route
> > > Table de routage IP du noyau
> > > Destination     Passerelle      Genmask           Indic Metric Ref
> Use Iface
> > > 172.16.4.17     *                   255.255.255.255  UH     0       0
> 0 eth0
> > > 193.251.145.0   bcm600          255.255.255.0   UG     0       0
> 0 eth0
> > > 172.16.0.0        *               255.255.0.0     U     0        0
> 0       eth0
> > > 127.0.0.0         *               255.0.0.0       U        0        0
> 0         lo
> > >
> > >
> > > My question is how shall i do or add as default route on machine mail to
> reach 193.251.145.250 (my provider) .
> > > and then have outgoing mail trafic routed to my provider .
> > I think the following should work: on mail machine add defaulte route with
> next hop
> > bcm600, on bcm600 make sure ip forwarding enabled, if 172.16.4.17 is known
> outside
> > your network(no masquarading) make sure your provider has route to
> 172.16.4.17 with next hop bcm600.
> >
> > Regards
> >
> > --
> > David Lipovkov
> >
> > Nbase-Xyplex Communications
> >
> > "You know, I know this steak doesn't exist. I know that when I put it in
> my
> > mouth, the Matrix is telling my brain that it is juicy and delicious.
> After
> > nine years, you know what I realize? Ignorance is bliss."
> >
> >                 -- Cypher, "The Matrix"
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to [EMAIL PROTECTED]
> 

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to