VOIP ICS/masquerading

Jun 13, 2005 0 Replies

follow up to c.o.l.networking.


some terminal output: [root@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:6864 errors:0 dropped:0 overruns:0 frame:0 TX packets:6765 errors:0 dropped:1 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:4312260 (4.1 MiB) TX bytes:1249117 (1.1 MiB) Interrupt:5 Base address:0xd400



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:156 errors:0 dropped:0 overruns:0 frame:0 TX packets:156 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:16680 (16.2 KiB) TX bytes:16680 (16.2 KiB)



[root@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
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



the internet connection is from



into eth0 and a hub is plugged into eth1, then a linksys PAP2 into the hub.



firestarter is installed, and dhcp, it's just a matter of configuration, masquerading, I believe.



first, I'd like to "check" the hardware somehow. can the hub be pinged? alternatively, I have a crossover cable.



again, the internet is WI-FI, I don't have access to the WI-FI router. the WI-FI adapter plugs into eth0 of the computer and the hub plugs into eth1 of the computer. I haven't set up masquerading, which, I believe, is required. again, I have crossover cable to use instead of the hub, too. the crossover cable could go from eth1 to the PAP2. of course, the phone plugs into the PAP2.



I've just started to look this recently, but am in a bit of a time crunch, unfortunately. how do I set up the masquerading, please?


thanks,



Thufir


Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required