integrate a ppp-connected PC to my LAN. arp problem?

linux

    Next

  • 1. [LISa] NetManager::prepa bind (TCP) failed, errno: 98
    Hi, I can't get lisa to work - always end up with the above stated error message. I have searched the web and learned that error 98 means that the address is already in use. But which address? There is no programm running on the lisa-port and I have no idea what else could be wrong. Please help! Regards, Carsten
  • 2. Can I Use my XP box as a Gateway?
    David Lumm wrote: > I have activated XP's built in ICS (Internet Connection Sharing) and set > that machine as the Gateway Why on earth would you put a windows box in front of a Linux box as a gateway?!? Almost like taping your money to the fence. Put the linux box as a gateway and save your windows box before someone gets it or it goes down and then your LAN will not have access to the 'net. Two NIC cards and run iptables.. VERY simple. -- "Windows: In a world without fences, who needs gates?"
  • 3. Setting-up a Dial-in server
    Hi... I want to configure Linux to accept dial-up connections for people to access the Internet. I'm assuming it'll use PPP, but I've never successfully gotten this to work. Can someone point me to a website, Howto, or FAQ that shows this? I need to know what packages need to be installed and it'd help if I could find the needed config files. I'm running Red Hat 8, but I can install 7.x through 9. Also, the modem is an external USR modem, so there shouldn't be hardware issues. I can get it to accept calls, but it just gives a command-line login. This would work great for me to dial-in and do CLI stuff, but I need PPP access for Internet access. Thanks for any suggestions or help, Alex.
  • 4. FTP/user login problem
    I am trying to set up a guest account for my ftp server (running wu-ftpd on Redhat 9). The account I am using is contained in /etc/passwd as: ftpuser:x:501:400::/home/Dan1/FTP/./:/etc/ftponly However, when I login to my FTP server using 'ftpuser' as user, and typing the password, I get an error saying that the password is incorrect. 'ftpuser' is not listed in my /etc/ftpusers file. Does anyone have any idea why the password is not accepting? I've tried changing the password, but to no luck. I believe it has to do with my configuration somewhere. Any info would be much appreciated. Thanks, Dan

integrate a ppp-connected PC to my LAN. arp problem?

Postby Ekkard Gerlach » Thu, 30 Nov 2006 01:39:16 GMT

I want to integrate a remote PC "ted" connectet by ppp to my LAN 
(192.168.0.x). The interface is to the remote PC is: 
192.168.0.52:192.168.0.220.  The 220 is the remote PC. I can ping to. I 
can ssh to. But trying to connect to my LAN by DSL by ssh tunnel from 
somewhat else, I can't reach the PC that is connected by ppp.

rex3:~ # route -n
Kernel IP routing table
Destination     Gateway    Genmask   Flags Metric Ref    Use Iface
192.168.0.220   0.0.0.0   255.255.255.255 UH    0      0        0 ippp2
192.168.0.0     0.0.0.0   255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0   255.255.0.0     U     0      0        0 eth0
127.0.0.0       0.0.0.0   255.0.0.0       U     0      0        0 lo
0.0.0.0       192.168.0.1 0.0.0.0         UG    0      0        0 eth0

I already completed arp-table:
rex3:~ # arp -Ds 192.168.0.220 ippp2 netmask 255.255.255.255 pub
rex3:~ # arp -a
rex2 (192.168.0.51) at 00:06:7B:03:94:21 [ether] on eth0
easy (192.168.0.27) at 00:50:8D:6C:64:F1 [ether] on eth0
? (192.168.0.198) at * PERM PUP on eth0
ted (192.168.0.220) at * PERM PUP on ippp2

PC easy is accessible, its a PC in my LAN.

any hints?
tia
Ekkard

Re: integrate a ppp-connected PC to my LAN. arp problem?

Postby Ekkard Gerlach » Thu, 30 Nov 2006 01:48:35 GMT


my ssh-tunnel from somewhere in internet:
ssh -f -L 1122:192.168.0.52:22  XXXX@XXXXX.COM  sleep 20;ssh -p 
1122 root@localhost


Re: integrate a ppp-connected PC to my LAN. arp problem?

Postby Ekkard Gerlach » Thu, 30 Nov 2006 02:12:42 GMT





Its not the fault of the ssh-tunnel! I can't get a ping-connection from 
other PC in my LAN to ted like easy (192.168.0.27) either!


Re: integrate a ppp-connected PC to my LAN. arp problem?

Postby Ekkard Gerlach » Thu, 30 Nov 2006 03:58:35 GMT

solution found on my own: iptables -t nat -A POSTROUTING -o ippp2 -j 
MASQUERADE

Ekkard

Re: integrate a ppp-connected PC to my LAN. arp problem?

Postby Clifford Kite » Thu, 30 Nov 2006 03:58:38 GMT





Pppd will automatically configure proxy arp on eth0 when the proxyarp
option is used.  And it's eth0 on rex3 that must take care of arps from
the LAN for 192.168.0.220, not ippp2.




-- 
Clifford Kite

Similar Threads:

1.doing the impossible: connecting 2 PCs over protected LANs

there are 2 LANs: LAN1 and LAN2 .

Both LANs are connected to internet by ADSL.

Connection is protected by severe firewalls.

I want to connect PC1 in LAN1 to PC2 in LAN2 using HTTP and an external
dedicated server (with static IP) mounting Linux.

The external dedicated server should store packets sent by PC1 to PC2
locally and send them to PC2 on request by PC2, and viceversa.

Slow connection speed is not a problem.

I'd like to know:

1. if this can be done (I am pretty confident about this point)

2. if it has already been done, using which software

Thank you

Peppe Polpo

2.PPP internet connect problems

I am unable to connect to any server via a PPP connection under
VectorLinux 4.0. The same machine/modem/line/ISP works fine under a dual
boot Win98SE setup. I get a successful PPP connection as shown in
"ifconfig" and "/var/log/messages". I have the correct DNS server names in
/etc/resolv.conf. But I continually get "hostname lookup failures" with
ftp, browser, email. I cannot even ping my ISP's website. When I attempt
to ping the remote server IP address listed in the ifconfig ppp0 section,
ping seems to hang, when I stop it it tells me "20 packets transmitted, 0
packets received".

The above problems occur logged in as either a user or root so there are
no permission problems. I also disabled "PortSentry" to no avail. There
are no other firewalls that I can see.

I don't quite know where to go or what to check next. Any assistance
greatfully appreciated.

Larry Gagnon

-- 
********************************
to reply via email remove "fake"

3.PPP modem problem - can't connect to ISP

I downloaded the 5.1 iso and re-installed from scratch over a fully working
5.0 install.  I did this because I was having problems with CVSup upgrading.

Under 5.0 I had set up my modem connection to work with user ppp to my ISP.
It also worked using the KDE ppp utility.  No problems whatsoever.

Now I have upgraded, I cannot access my ISP.  Please help me diagnose the
problem.

I have a Swann SpeedDemon external modem on COM1.  This configuration has
not changed since my 5.0 install and works fine in WindowsXP and BeOS.

I have followed the install instructions in both the Handbook, and the
O'Reilly Onlamp FreeBSD basics ppp instruction page.  To the best of my
knowledge, the current setup (ppp.conf, resolv.conf etc) is identical to my
setup under 5.0.

My symptoms are:

If I try manually dialling my ISP through a "ppp ; term /dev/cuaa0 ;
atdt[number]" I get a dialtone, ringing out, the normal modem noises etc.
Sometimes it says 'CONNECT 56600', but invariably it drops out immediately
thereafter.

If I try an auto dial using the ppp.conf setup, I get no dialtone, no
connection noises and after 20 seconds or so I get an error saying that
there is something wrong with the Chat script.  I don't really understand
the chat script issue, but I guess it has something to do with the modem
settings in ppp.conf.

Is there a known error/change in user ppp in 5.1 which will cause this
problem.  I have tried a re-install to no avail, so it is not a simple
error.  Have I forgotten to install a critical component.

I am concerned that if I go back to 5.0 and (successfully CVSup) I will get
this problem back.  I would rather not go back to 5.0 because Xfree86 4.2
does not have drivers for my video card.

All suggestions gratefully accepted.
thanks
Adam R


4.Connection between a lan-connected pc and a wireless connected

I have a router who shares my high-speed internet connection between my two 
computers. one is connected by LAN to the router and the other by wireless... 
Now the question is: can i create bridge connections to share the hard disks 
and files of the 2 pcs?? I don't know what to do because no one of the 2 can 
see the other... Workgroups???
Thanks 

5.problems connecting to a lan from another subnet

Hi,
Ive set up two server's using RHEL4:
Linux [pcNAME] 2.6.9-5.EL #1 Wed Jan 5 19:22:18 EST 2005 i686 i686 i386
GNU/Linux

1) one is acting as a Router
2) the other is acting as a development server

Router: two interfaces:
eth0: running on dhcp, ip is 192.168.10.235, also connected to my
office lan
eth1: statically assigned ip: 172.22.1.1

Development server, statically assigned ip: 172.22.1.2

Im able to ping
172.22.1.2   <-------------> 172.22.1.1
172.22.1.2   <------------->  192.168.10.235

I cannot access any service on the office lan or the router from the
development server, but I can access the normal service of ssh and http
on 172.22.1.2. Nor am I able to ping the office lan from 172.22.1.2.

I have shut down the firewall from the both the machines...

Thanks
Danish

6. problem connecting to a device using a LAN-to-Serial cable

7. pc to pc lan problem

8. PC wireless lan problem - autodisable from lan



Return to linux

 

Who is online

Users browsing this forum: No registered users and 18 guest