Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-06-2008, 07:17 AM
|
#1
|
|
Member
Registered: Aug 2008
Posts: 59
Rep:
|
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
|
|
|
|
08-06-2008, 07:29 AM
|
#2
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
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.
|
|
|
|
08-06-2008, 12:28 PM
|
#3
|
|
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 3,943
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:13 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|