|
|
samwun wrote: Julio Maidanik wrote: Here is result of the ifconfig/netstat in FreeBSD and Redhat:
In FreeBSD:
==========
root@fbsd [2:32pm] [...local/classlib-2.1]# ifconfig -a
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
inet6 fe80::202:b3ff:febb:a7a5%fxp0 prefixlen 64 scopeid 0x1
ether 00:02:b3:bb:a7:a5
media: Ethernet autoselect (10baseT/UTP)
status: active
fxp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
inet6 fe80::202:b3ff:fe8a:c348%fxp1 prefixlen 64 scopeid 0x2
ether 00:02:b3:8a:c3:48
media: Ethernet autoselect (none)
status: no carrier
....
tun3: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
inet6 fe80::202:b3ff:febb:a7a5%tun3 prefixlen 64 scopeid 0x8
inet 192.168.0.2 --> 192.168.0.1 netmask 0xffffffff
Opened by PID 265
root@fbsd [2:36pm] [...local/classlib-2.1]# netstat -rn
Routing tablesInternet: Destination Gateway Flags Refs Use Netif Expire default 192.168.1.254 UGSc 4 0 fxp0 127.0.0.1 127.0.0.1 UH 1 24 lo0 172.16/24 192.168.1.1 UGSc 0 0 fxp0 192.168.0.1 192.168.0.2 UH 0 223 tun3 192.168.1 link#1 UC 4 0 fxp0 192.168.1.1 00:02:b3:bb:a7:a5 UHLW 1 0 lo0 192.168.1.91 00:90:27:57:59:8c UHLW 4 8770 fxp0 1131 192.168.1.128 00:09:6b:8d:b2:67 UHLW 0 343 fxp0 941 192.168.1.254 00:02:b3:0b:3c:d1 UHLW 5 53 fxp0 72 192.168.2 link#2 UC 0 0 fxp1 In Redhat: ============= root@redhat [11:46am] [~]# ifconfig -a eth0 Link encap:Ethernet HWaddr 00:90:27:57:59:8C inet addr:192.168.1.91 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:39507 errors:0 dropped:0 overruns:0 frame:0 TX packets:33214 errors:0 dropped:0 overruns:0 carrier:0 collisions:7756 txqueuelen:100 RX bytes:4654082 (4.4 Mb) TX bytes:5304575 (5.0 Mb) Interrupt:11 Base address:0xc400 Memory:e5104000-e5104038 eth0:0 Link encap:Ethernet HWaddr 00:90:27:57:59:8C inet addr:192.168.3.1 Bcast:192.168.3.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:14 errors:0 dropped:0 overruns:0 frame:0 TX packets:18 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:2936 (2.8 Kb) TX bytes:2414 (2.3 Kb) Interrupt:11 Base address:0xc400 Memory:e5104000-e5104038 ..... tun0 Link encap:Point-to-Point Protocol inet addr:192.168.0.1 P-t-P:192.168.0.2 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:14 errors:0 dropped:0 overruns:0 frame:0 TX packets:18 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:2936 (2.8 Kb) TX bytes:2414 (2.3 Kb) root@redhat [11:46am] [~]# netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.0.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0 192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.2.0 192.168.0.2 255.255.255.0 UG 0 0 0 tun0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth0 0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth0 0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth0 Thanks Sam Julio ----- Original Message ----- From: "samwun" <samwun@xxxxxxxxxxxxxxxx> To: <openvpn-users@xxxxxxxxxxxxxxxxxxxxx> Sent: Friday, May 14, 2004 1:06 PM Subject: [Openvpn-users] problem with connecting to private network ____________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users |