[X-Unix] Re: Networking "guru" needed, dialin PPP not working

Timothy Luoma lists at tntluoma.com
Tue Jul 12 04:31:31 PDT 2005


On Jul 11, 2005, at 4:49 PM, Pablo wrote:


> Ok, im not a guru or nothing like it, but something is really wierd  
> here, if you connect to the FreeBSD machine and it gives you an  
> 192.168.1.x IP address then you will have 2 interfaces of the same  
> machine ( the FreeBSD machine ) in the same network, I dont think  
> that any machine can route that ,even if you set ip_forwarding it  
> shouldnt work. Try changing the network IP address of you DHCP in  
> the FreeBSD to something like 192.168.2.x and add a default route  
> in the linksys router( the one that works as a router ) to  
> 192.168.2.x to the FreeBSD machine.
>

I understand what you are saying, but the setup works perfectly about  
75% of the time.

This is what I mean by 'If it failed consistently then I'd have some  
idea of what to fix'.

Last night I was online, got offline, couldn't get back on.
This morning (after doing nothing more than waiting 6 hours since I  
tried the last time), it worked on the first try.

Here's the 'ifconfig' information from the FreeBSD machine when I am  
dialed in:

freebsd> ifconfig

[ethernet card, LAN]
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         options=8<VLAN_MTU>
         inet 192.168.1.200 netmask 0xffffff00 broadcast 192.168.1.255
         inet6 fe80::211:11ff:feb5:636%fxp0 prefixlen 64 scopeid 0x2
         ether 00:11:11:b5:06:36
         media: Ethernet autoselect (100baseTX <full-duplex>)
         status: active

[modem, Powerbook dialed in]
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
         inet 192.168.1.3 --> 192.168.1.4 netmask 0xffffffff
         Opened by PID 28731


freebsd> netstat -rn -f inet
Routing tables

Internet:
Destination        Gateway                Flags    Refs      Use   
Netif Expire
default               192.168.1.1            UGS         0   111640    
fxp0
127.0.0.1           127.0.0.1                  UH          0      
1757    lo0
192.168.1           link#2                     UC          0         
0   fxp0
192.168.1.1        00:06:25:bd:1b:4b  UHLW        1    17229    
fxp0    719
192.168.1.4        192.168.1.3            UH          0     3983   tun0
192.168.1.4        00:11:11:b5:06:36  UHLS2       0        0   fxp0
192.168.1.31      00:11:11:36:90:93  UHLW        0     2630   fxp0    
1150
192.168.1.33      00:0f:1f:26:8f:0a      UHLW        0      438    
fxp0   1033
192.168.1.255    ff:ff:ff:ff:ff:ff              UHLWb       0      
2914   fxp0




More information about the X-Unix mailing list