LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-06-2008, 07:17 AM   #1
chetan_linux
Member
 
Registered: Aug 2008
Posts: 61

Rep: Reputation: 1
Unable to connect my home pc and work pc


I am using a PC at home connected through router whose details are:-

[krish@scram0 ~]$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:13:20:A4:4A:EC
inet addr:192.168.10.4 Bcast:192.168.10.255 Mask:255.255.255.0
inet6 addr: fe80::213:20ff:fea4:4aec/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14809 errors:0 dropped:0 overruns:0 frame:0
TX packets:11711 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14235262 (13.5 MiB) TX bytes:1332262 (1.2 MiB)

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:5263 errors:0 dropped:0 overruns:0 frame:0
TX packets:5263 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3251684 (3.1 MiB) TX bytes:3251684 (3.1 MiB)


router
IP : 10.165.30.145
Netmask : 255.255.0.0
Gateway : 10.165.250.1
DNS : 10.200.1.11
WINS: 10.200.1.21

I am using a PC at my workplace whose details are:-

[root@laptop ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:08:02:7C:95:80
inet addr:10.101.11.86 Bcast:10.101.255.255 Mask:255.255.0.0
inet6 addr: fe80::208:2ff:fe7c:9580/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:135887 errors:0 dropped:0 overruns:0 frame:0
TX packets:25070 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:41484140 (39.5 MiB) TX bytes:3953187 (3.7 MiB)
Interrupt:10 Base address:0x800

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:3475 errors:0 dropped:0 overruns:0 frame:0
TX packets:3475 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3924044 (3.7 MiB) TX bytes:3924044 (3.7 MiB)

virbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:6233 (6.0 KiB)

I WANT TO CONNECT MY WORKPLACE PC FROM MY HOME PC AND VICE-VERSA. HOW can i do this plzz help me
 
Old 08-06-2008, 07:29 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Common protocols include ftp and ssh. ftp is fine if you just need to access your files.

Is the work computer behind a firewall? Just ping the IP from home to verify.

For the home computer, do you have a static IP or DHCP (from the ISP)? Most are DHCP, which means that the IP can change on different logins. This makes it difficult to connect to it from outside. To try it, turn on DMZ (in the router configuration) and try pinging from work.
 
Old 08-06-2008, 12:28 PM   #3
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Both your home and office PCs are using non-routable addresses. Such address will not pass through a switch, so they are not visible from the internet. It would not be possible to connect them over the Internet.

If you need to connect to your office PC, you need to get a valid Internet address for that network (so it will be "visible" on the Internet), and then (I would suggest) set up a VPN tunnel through your office firewall for your home PC to use to connect to the office PC.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux unable to connect to my new home LAN tallmtt Linux - Networking 5 03-07-2008 02:11 PM
work but unable to connect 5n1p3r Linux - Wireless Networking 1 08-08-2006 08:12 AM
can't connect wifi at home, but can connect everywhere else Javi2 SUSE / openSUSE 1 08-25-2005 06:49 PM
How to connect to my home computer from work? enemorales Linux - Networking 3 11-26-2004 11:17 AM
Connect to work box from home box slackist Linux - Networking 4 09-18-2004 05:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration