[olug] Re: Wireless Help

Joe Catanzaro joecatanzaro at cox.net
Wed Oct 22 14:21:09 UTC 2003


Ahhh hahhhhh!!!!!   And after laying in bed last night it hit me that I 
didn't have an iptables/ipchains rule setup for this stuff. And I knew it 
was something obvious. I'll probably have to add something like:

/sbin/ipchains -A forward -s 10.0.1.0/24 -j MASQ

or maybe

/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

along with many other rules around these. I won't have time to mess with 
this until tomorrow night. So, I'll post my results at that time.

Thanks,


At 10/22/03 12:12 AM Wednesday, you wrote:
>Sam, thanks for the response, but both of those are set correctly. After 
>much research I'm still at a standstill. It appears I'm still struggling 
>with routing. Again, I'm trying to get a windows laptop to talk to a RH 
>7.3 box, and then to the rest of my network. The wireless stuff is working 
>great. I can ping the RH wi-fi interface (10.0.1.1) from the laptop and I 
>can also ping the wired interface (10.0.0.5) from the laptop, but nothing 
>beyond that. So, I'm assuming I have a routing issue on the RH box. I'm 
>missing something obvious, but I don't know what. Here are the details. 
>Any ideas?   Thanks,
>
>www   ---   Firewall     ---     RH 7.3 box     ~~~     Win 98 laptop
>                   10.0.0.1         10.0.0.5  10.0.1.1          10.0.1.38
>
>[root at scooter network-scripts]# more ifcfg-wlan0
>DEVICE=wlan0
>ONBOOT=yes
>BOOTPROTO=static
>IPADDR=10.0.1.1
>BROADCAST=10.0.1.255
>NETMASK=255.255.255.0
>GATEWAY=10.0.0.5
>NETWORK=10.0.1.0
>
>[root at scooter network-scripts]# more ifcfg-eth0
>DEVICE=eth0
>BOOTPROTO=static
>BROADCAST=10.0.0.255
>IPADDR=10.0.0.5
>NETMASK=255.255.255.0
>NETWORK=10.0.0.0
>ONBOOT=yes
>GATEWAY=10.0.0.1
>
>[root at scooter network-scripts]# more ../network
>NETWORKING=yes
>HOSTNAME=scooter
>
>[root at scooter network-scripts]# route -n
>Kernel IP routing table
>Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
>10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 eth0
>10.0.1.0        0.0.0.0         255.255.255.0   U     0      0        0 wlan0
>127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
>0.0.0.0         10.0.0.1        0.0.0.0         UG    0      0        0 eth0
>
>[root at scooter network-scripts]# cat /proc/sys/net/ipv4/ip_forward
>1
>
>[root at scooter network-scripts]# ifconfig
>eth0      Link encap:Ethernet  HWaddr 00:60:97:23:F9:24
>           inet addr:10.0.0.5  Bcast:10.0.0.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:5098 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:2861 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:569507 (556.1 Kb)  TX bytes:316540 (309.1 Kb)
>           Interrupt:15 Base address:0x5000
>
>lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:4 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:296 (296.0 b)  TX bytes:296 (296.0 b)
>
>wlan0     Link encap:Ethernet  HWaddr 00:0D:88:8B:68:87
>           inet addr:10.0.1.1  Bcast:10.0.1.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:37 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:327 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:2108 (2.0 Kb)  TX bytes:70662 (69.0 Kb)
>           Interrupt:11 Base address:0x5040
>
>Windows Laptop
>         IP Address    10.0.1.38
>         Gateway    10.0.1.1
>         Subnet Mask    255.255.255.0


Joe Catanzaro
joecatanzaro at cox.net 



More information about the OLUG mailing list