Routed ppp
Jonathan Dean
jon.dean at deanuk.net
Thu Jun 19 13:23:41 BST 2003
--=====================_8525709==.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed
At 13:09 19/06/2003 +0100, you wrote:
>Forgive me if I am wrong but from your route table it looks like your next
>hop destination ( eg default ) is set to your internal interace.
>
>which means that all packets to be sent out to the wide world are being
>sent to your internal interface.
>
>Anyone else agree? Its been a while since i set up routes ;)
Yeah I agree.
As far as I remember if you have the line
add default HISADDR
in ppp.conf then ppp will set the default route when it connects.
The Windows machines should then have 192.168.1.3 as their default route.
>>netstat -rn
>>Routing tables
>>
>>Internet:
>>Destination Gateway Flags Refs Use Netif Expire
>>default 192.168.1.3 UGSc 2 0 xl0
>>127.0.0.1 127.0.0.1 UH 1 26 lo0
>>192.168.1 link#1 UC 2 0 xl0
>>192.168.1.3 00:01:03:4a:0f:ba UHLW 3 512 lo0
>>192.168.1.100 00:60:08:81:b6:e3 UHLW 1 269 xl0 1021
>>213.120.78.78 80.225.13.242 UH 0 4 tun0
>>
>>Internet6:
>>Destination Gateway Flags
>>Netif Expire
>>::1 ::1 UH
>>lo0
>>fe80::%xl0/64 link#1 UC
>>xl0
>>fe80::201:3ff:fe4a:fba%xl0 00:01:03:4a:0f:ba UHL
>>lo0
>>fe80::%lo0/64 fe80::1%lo0 Uc
>>lo0
>>fe80::1%lo0 link#3 UHL
>>lo0
>>ff01::/32 ::1 U
>>lo0
>>ff02::%xl0/32 link#1 UC
>>xl0
>>ff02::%lo0/32 ::1 UC
>>lo0
>
>
>
>------ FreeBSD UK Users' Group - Mailing List ------
>http://listserver.uk.freebsd.org/mailman/listinfo/freebsd-users
---
Jonathan Dean
jon.dean at deanuk.net www.jondean.com
Dept. Computer Science, University of Exeter.
j.s.dean at exeter.ac.uk www.dcs.ex.ac.uk
Network Manager, Dean UK Networks
root at deanuk.net www.deanuk.net
--=====================_8525709==.ALT
Content-Type: text/html; charset="us-ascii"
<html>
<body>
At 13:09 19/06/2003 +0100, you wrote:<br>
<blockquote type=cite class=cite cite>Forgive me if I am wrong but from
your route table it looks like your next hop destination ( eg default )
is set to your internal interace.<br><br>
which means that all packets to be sent out to the wide world are being
sent to your internal interface.<br><br>
Anyone else agree? Its been a while since i set up routes
;)</blockquote><br>
Yeah I agree.<br>
As far as I remember if you have the line<br><br>
<br>
<pre>add default HISADDR
</pre>in ppp.conf then ppp will set the default route when it
connects.<br>
The Windows machines should then have 192.168.1.3 as their default
route.<br><br>
<br><br>
<br>
<blockquote type=cite class=cite cite><blockquote type=cite class=cite cite>netstat
-rn<br>
Routing tables<br><br>
Internet:<br>
Destination
Gateway
Flags Refs Use
Netif Expire<br>
default
192.168.1.3
UGSc
2 0 xl0<br>
127.0.0.1
127.0.0.1
UH
1 26 lo0<br>
192.168.1
link#1
UC
2 0 xl0<br>
192.168.1.3
00:01:03:4a:0f:ba UHLW
3 512 lo0<br>
192.168.1.100 00:60:08:81:b6:e3
UHLW
1 269 xl0
1021<br>
213.120.78.78
80.225.13.242
UH
0 4 tun0<br><br>
Internet6:<br>
Destination
Gateway
Flags<br>
Netif Expire<br>
::1
::1
UH<br>
lo0<br>
fe80::%xl0/64
link#1
UC<br>
xl0<br>
fe80::201:3ff:fe4a:fba%xl0
00:01:03:4a:0f:ba
UHL<br>
lo0<br>
fe80::%lo0/64
fe80::1%lo0
Uc<br>
lo0<br>
fe80::1%lo0
link#3
UHL<br>
lo0<br>
ff01::/32
::1
U<br>
lo0<br>
ff02::%xl0/32
link#1
UC<br>
xl0<br>
ff02::%lo0/32
::1
UC<br>
lo0</blockquote><br><br>
<br>
------ FreeBSD UK Users' Group - Mailing List ------<br>
<a href="http://listserver.uk.freebsd.org/mailman/listinfo/freebsd-users" eudora="autourl">http://listserver.uk.freebsd.org/mailman/listinfo/freebsd-users</a></blockquote>
<x-sigsep><p></x-sigsep>
---<br>
<b>Jonathan Dean<br>
</b>jon.dean at deanuk.net<x-tab> </x-tab><x-tab> </x-tab><a href="http://www.jondean.com/" eudora="autourl">www.jondean.com</a><br><br>
Dept. Computer Science, University of Exeter.<br>
j.s.dean at exeter.ac.uk<x-tab> </x-tab><x-tab> </x-tab><a href="http://www.dcs.ex.ac.uk/" eudora="autourl">www.dcs.ex.ac.uk</a><br><br>
Network Manager, Dean UK Networks<br>
root at deanuk.net<x-tab> </x-tab><x-tab> </x-tab><a href="http://www.deanuk.net/" eudora="autourl">www.deanuk.net</a>
</body>
</html>
--=====================_8525709==.ALT--
More information about the Ukfreebsd
mailing list