[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ping failure and ipmasquerade



Hi all, I got this after I install the ipmasq.deb package, I do not know  what
to put in the ipmasq.conf, the computer dialing out is 192.168.1.1 and I have
the other linux box with 192.168.1.10 which I intend to have net connection
masquerading from the 192.168.1.1, can somebody please tell me what to put in
the conf file?

external ip address = 192.168.1.1
external ip netmask = 255.255.255.0
internal ip address = 192.168.1.10
internal ip netmask = 255.255.255.0

Is this correct? if I had to add some more stations, can I just add it to the
conf file? what other files should I edit to make it works? the Howto does not
explain well to me, pardon my ignorance..

Even after removal of ipmasq package I still could not ping the outside world
from 192.168.1.1, pinging 192.168.1.10 and the other way around works, below
is the message I received.
lat# ping 202.155.2.67
PING 202.155.2.67 (202.155.2.67): 56 data bytes
ping: sendto: Operation not permitted
ping: wrote 202.155.2.67 64 chars, ret=-1
ping: sendto: Operation not permitted
ping: wrote 202.155.2.67 64 chars, ret=-1
ping: sendto: Operation not permitted
ping: wrote 202.155.2.67 64 chars, ret=-1

--- 202.155.2.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss

I am planning to have a dedicated line from my isp, with utp/10baseT
interface, and they can only give 1(one) ip, do I have to get another ethernet
card to do the routing and masquerading ? If so is there any resource  where I
can find out more about multiple ethernet card?

Thanks in advance

sincerely
kusuma


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: