Hi every body
I have the following situation
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 .
[My problem now is not at sendmail configuration , but ip routing) .
 
Thanks in advance
Sidaty
 
 

Reply via email to