This is a discussion on VOIP ICS/masquerading within the Linux Networking forums, part of the Linux Forums category; follow up to c.o.l.networking. some terminal output: [root@localhost ~]# ifconfig eth0 Link encap:Ethernet HWaddr 00:0A:...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 <http://usa.asus.com/products/communication/wireless/wl-330g/overview.htm> into eth0 and a hub is plugged into eth1, then a linksys PAP2 <http://www.linksys.com/products/product.asp?prid=651&scid=38> into the hub. firestarter <http://www.fs-security.com/> 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 |
|
|||
|
On 13 Jun 2005 09:04:27 -0700, hawat.thufir@gmail.com
<hawat.thufir@gmail.com> wrote: > 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 ><http://usa.asus.com/products/communication/wireless/wl-330g/overview.htm> > into eth0 and a hub is plugged into eth1, then a linksys PAP2 ><http://www.linksys.com/products/product.asp?prid=651&scid=38> into the > hub. > > firestarter ><http://www.fs-security.com/> 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. > ifconfig and route don't show anything from eth1. Have you tried "ifconfig eth1 up"? If that doesn't work, post the output of lspci. You can't ping a hub, but you should be able to ping whatever is connected to it. > 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? > Install the ipmasq package, but you need two working interfaces. -- I cannot believe that God plays dice with the cosmos. -- Albert Einstein, on the randomness of quantum mechanics |
![]() |
| Thread Tools | |
| Display Modes | |
|
|