wireless to wired bridge and gateway

THUFIR HAWAT hawat.thufir at gmail.com
Fri Nov 25 21:31:18 UTC 2005


I have a strange situation.  I connect to the internet with 802.11b
(from an Asus WL-330g to an SMC7004VWBR 802.11b router), aka wi-fi.  I
have a Linksys PAP2 that came with a local account for VoIP.  I
haven't quite got the VoIP working with windows yet, but hope to.

What I'd like is to use a "gateway," and then connect other computers
or hardware, such as the PAP2, to the switch.  there's a diagram at
<http://www.fs-security.com/docs/connection-sharing.php> that I'm
looking at (although I didn't use firestarter).

Does this make sense?  Here are some pings from the "gateway":

[root at localhost ~]#
[root at localhost ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0A:E6:A0:24:27
          inet addr:192.168.2.175  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::20a:e6ff:fea0:2427/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:753 errors:0 dropped:0 overruns:0 frame:0
          TX packets:677 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:485001 (473.6 KiB)  TX bytes:62766 (61.2 KiB)
          Interrupt:11 Base address:0xd400

eth1      Link encap:Ethernet  HWaddr 00:50:DA:68:8C:B2
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::250:daff:fe68:8cb2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:19 errors:0 dropped:0 overruns:0 frame:0
          TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1824 (1.7 KiB)  TX bytes:2442 (2.3 KiB)
          Interrupt:11 Base address:0xd000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2350 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2350 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2370124 (2.2 MiB)  TX bytes:2370124 (2.2 MiB)

[root at localhost ~]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.2.0     *               255.255.255.0   U     0      0        0 eth0
192.168.0.0     *               255.255.255.0   U     0      0        0 eth1
169.254.0.0     *               255.255.0.0     U     0      0        0 eth0
default         192.168.2.1     0.0.0.0         UG    0      0        0 eth0
[root at localhost ~]# ping 192.168.2.1
PING 192.168.2.1 (192.168.2.1) 56(84) bytes of data.
64 bytes from 192.168.2.1: icmp_seq=0 ttl=255 time=2.58 ms
64 bytes from 192.168.2.1: icmp_seq=1 ttl=255 time=2.60 ms
64 bytes from 192.168.2.1: icmp_seq=2 ttl=255 time=2.55 ms
64 bytes from 192.168.2.1: icmp_seq=3 ttl=255 time=2.61 ms
64 bytes from 192.168.2.1: icmp_seq=4 ttl=255 time=4.68 ms

--- 192.168.2.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4003ms
rtt min/avg/max/mdev = 2.556/3.008/4.681/0.836 ms, pipe 2
[root at localhost ~]# ping 192.168.0.2
PING 192.168.0.2 (192.168.0.2) 56(84) bytes of data.
64 bytes from 192.168.0.2: icmp_seq=0 ttl=128 time=0.406 ms
64 bytes from 192.168.0.2: icmp_seq=1 ttl=128 time=0.360 ms
64 bytes from 192.168.0.2: icmp_seq=2 ttl=128 time=0.362 ms
64 bytes from 192.168.0.2: icmp_seq=3 ttl=128 time=0.353 ms
64 bytes from 192.168.0.2: icmp_seq=4 ttl=128 time=0.363 ms

--- 192.168.0.2 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3999ms
rtt min/avg/max/mdev = 0.353/0.368/0.406/0.030 ms, pipe 2
[root at localhost ~]# ping www.google.com
PING www.l.google.com (66.102.7.99) 56(84) bytes of data.
64 bytes from 66.102.7.99: icmp_seq=0 ttl=245 time=92.5 ms
64 bytes from 66.102.7.99: icmp_seq=1 ttl=245 time=372 ms
64 bytes from 66.102.7.99: icmp_seq=2 ttl=245 time=177 ms
64 bytes from 66.102.7.99: icmp_seq=3 ttl=245 time=67.3 ms
64 bytes from 66.102.7.99: icmp_seq=4 ttl=245 time=121 ms

--- www.l.google.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4002ms
rtt min/avg/max/mdev = 67.321/166.182/372.072/109.271 ms, pipe 2
[root at localhost ~]# date
Fri Nov 25 16:22:37 EST 2005
[root at localhost ~]#



thanks,

-Thufir




More information about the fedora-list mailing list