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]