Dual Lan

  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Joined: May 22, 2004
  • Posts: 3415
  • Loc: Richland, WA
  • Status: Offline

Post March 23rd, 2008, 11:26 am

On my desktop I have dual Ethernet connections. I was wondering if there was a way to hook my internet up to one, and then another computer to the other. My plan is, when I go to college I need a way to connect to my server. At home I can set a static IP for it, however at college I wont be able to do that. I'm not sure if the dual Ethernet will help, but my basically plan is to be able to connect to my server via a IP. That way I can set up host records, and also be able to connect to it via SSH.
#define NULL (::rand() % 2)
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post March 23rd, 2008, 11:26 am

  • Don2007
  • Web Master
  • Web Master
  • No Avatar
  • Joined: Nov 21, 2006
  • Posts: 4924
  • Loc: NY
  • Status: Offline

Post March 23rd, 2008, 12:57 pm

There is an easier way to setup a remote connection but first, what OS is the home machine running? What OS is the machine at school running? Do you have a router at home?
How do you know when a politician is lying? His mouth is moving.
  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Joined: May 22, 2004
  • Posts: 3415
  • Loc: Richland, WA
  • Status: Offline

Post March 23rd, 2008, 10:52 pm

I plan on having the server with me at school. I'm just trying to find a way to give it a static IP of sorts. That way I can just have it sit in the corner of the room and I dont have to bother to lookup the IP on it every time I want to connect to it viva SSH or access apache.
#define NULL (::rand() % 2)
  • Don2007
  • Web Master
  • Web Master
  • No Avatar
  • Joined: Nov 21, 2006
  • Posts: 4924
  • Loc: NY
  • Status: Offline

Post March 24th, 2008, 4:38 am

You still didn't answer the question of what OS will be running on the server but either way, take a look at dyndns.org, GoToMyPC, or LogMeIn
How do you know when a politician is lying? His mouth is moving.
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Joined: Sep 22, 2003
  • Posts: 6130
  • Loc: Seattle, WA
  • Status: Offline

Post March 24th, 2008, 9:27 am

Don2007 wrote:
take a look at dyndns.org, GoToMyPC, or LogMeIn

Add zoneedit.com to that list; it's the one I use for this sort of stuff.
The Beer Monocle. Classy.
  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Joined: May 22, 2004
  • Posts: 3415
  • Loc: Richland, WA
  • Status: Offline

Post March 24th, 2008, 10:42 am

Let me clarify my question:

Currently I have my desktop, and my server. At the moment I can assign a static IP to it because I have complete control over my router. So when I want to connect to it via SSH I can just type in the IP and connect. For all my web programming, I just edit my host file and put some dummy domains in usaly ending in .dev. This works perfectly because I don't have to worry about my IP changing and I never have to update any files.

However, at school, if I were to connect both my desktop and server tot he network. The IP would not be static, but dynamic, because I have no control over the router. So if I wanted to connect to my server I would first have to hook a monitor and keyboard up to it, check the IP and then I could connect. This kinda of defeats the purposes. Also every time my IP changes I would have to update my host file with the new IP.

So here is my question. Can I use my second ethernet jack to connect to my server with a `static IP` of sorts. All those services are great if I were to leave my server at my house, but I plan on having it with me at school, because I also store all my music and pictures on it.
#define NULL (::rand() % 2)
  • grinch2171
  • Moderator
  • Genius
  • User avatar
  • Joined: Feb 11, 2004
  • Posts: 6741
  • Loc: Martinsburg, WV
  • Status: Offline

Post March 24th, 2008, 10:49 am

I've never setup a static IP at the router. I usually do that by opening up the NIC properties and going into the TCP/IP settings. This is in Windows by the way.

If you are worried about your school using DHCP this is what I would do. Once the server gets its IP from the DHCP server I would do an ipconfig /all and write down the IP and DNS info and then enter it in statically. This is Windows of course.

I think you are thinking about this too much.
‎"Be polite, be professional, but have a plan to kill everybody you meet." Maj. Gen. James Mattis
  • Don2007
  • Web Master
  • Web Master
  • No Avatar
  • Joined: Nov 21, 2006
  • Posts: 4924
  • Loc: NY
  • Status: Offline

Post March 24th, 2008, 1:15 pm

Now I understand what you're trying to do. The problem is that most college dorms only have one jack in the wall for each student. If that's the case, you can't have 2 PCs there because, your IP is already an internal IP and you can't split it any further.

I would leave the server home and use one of the services I suggested.

For the 3rd and final time, I am asking you, WHAT OS IS THE SERVER RUNNING?
How do you know when a politician is lying? His mouth is moving.
  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Joined: May 22, 2004
  • Posts: 3415
  • Loc: Richland, WA
  • Status: Offline

Post March 24th, 2008, 1:22 pm

lol, sorry, I thought I added that.

CentOS 5
#define NULL (::rand() % 2)
  • Don2007
  • Web Master
  • Web Master
  • No Avatar
  • Joined: Nov 21, 2006
  • Posts: 4924
  • Loc: NY
  • Status: Offline

Post March 24th, 2008, 2:20 pm

Ok. Either try to get one of those services to work with CentOS or put the PC in the DMZ and test the connection from a friend's house.

If you take the server with you, it will be more of a problem.

Another choice would be, put all those files on an external HD and take that with you.
How do you know when a politician is lying? His mouth is moving.
  • Merlyn
  • Guru
  • Guru
  • User avatar
  • Joined: Dec 04, 2003
  • Posts: 1143
  • Loc: Oregon
  • Status: Offline

Post March 25th, 2008, 8:46 am

Wow some great utility recommendations in this thread. Thank you!
"Man cannot discover new oceans unless he has the courage to lose sight of the shore" -Andre Gide
  • jflynn
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Jun 23, 2006
  • Posts: 2304
  • Loc: Baker City, Oregon
  • Status: Offline

Post March 26th, 2008, 8:24 am

Don2007 wrote:
Now I understand what you're trying to do. The problem is that most college dorms only have one jack in the wall for each student. If that's the case, you can't have 2 PCs there because, your IP is already an internal IP and you can't split it any further.


I don't think this is correct. If you go buy a $50 router, you could static your 1 IP (as WAN) then subnet in your room.
Stand Up! STand Up and Shout!
  • Don2007
  • Web Master
  • Web Master
  • No Avatar
  • Joined: Nov 21, 2006
  • Posts: 4924
  • Loc: NY
  • Status: Offline

Post March 26th, 2008, 3:04 pm

How is the college router going to read that?
You're telling him to change a LAN into a WAN.
How do you know when a politician is lying? His mouth is moving.
  • jflynn
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Jun 23, 2006
  • Posts: 2304
  • Loc: Baker City, Oregon
  • Status: Offline

Post March 26th, 2008, 3:15 pm

that's how you set up subnets...
Stand Up! STand Up and Shout!
  • Don2007
  • Web Master
  • Web Master
  • No Avatar
  • Joined: Nov 21, 2006
  • Posts: 4924
  • Loc: NY
  • Status: Offline

Post March 26th, 2008, 4:04 pm

Suppose the college subnet is 192.168.0.xxx and it gives him an IP of 192.168.0.22, how can his router subnet that any further without causing an IP conflict?
How do you know when a politician is lying? His mouth is moving.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post March 26th, 2008, 4:04 pm

Post Information

  • Total Posts in this topic: 20 posts
  • Users browsing this forum: No registered users and 43 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.