Dual Lan

  • SpooF
  • Ice Cream
  • Bronze Member
  • User avatar
  • Joined: 22 May 2004
  • Posts: 2438
  • 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.
"For the last two weeks, the Linux army has seized on Tuttle, Oklahoma city manager Jerry Taylor as a symbol of all that's wrong with the world." - The Register
  • 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: 21 Nov 2006
  • Posts: 2906
  • 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?
  • SpooF
  • Ice Cream
  • Bronze Member
  • User avatar
  • Joined: 22 May 2004
  • Posts: 2438
  • 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.
"For the last two weeks, the Linux army has seized on Tuttle, Oklahoma city manager Jerry Taylor as a symbol of all that's wrong with the world." - The Register
  • Don2007
  • Web Master
  • Web Master
  • No Avatar
  • Joined: 21 Nov 2006
  • Posts: 2906
  • 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
  • spork
  • Born
  • Silver Member
  • User avatar
  • Joined: 22 Sep 2003
  • Posts: 3826
  • Loc: Rochester, NY
  • 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.
  • SpooF
  • Ice Cream
  • Bronze Member
  • User avatar
  • Joined: 22 May 2004
  • Posts: 2438
  • 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.
"For the last two weeks, the Linux army has seized on Tuttle, Oklahoma city manager Jerry Taylor as a symbol of all that's wrong with the world." - The Register
  • grinch2171
  • Moderator
  • Genius
  • User avatar
  • Joined: 11 Feb 2004
  • Posts: 5783
  • 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.
Light travels faster than sound. This is why some people appear bright until you hear them speak.
Urlacher is a Douche
A Poem for Mother's Day
  • Don2007
  • Web Master
  • Web Master
  • No Avatar
  • Joined: 21 Nov 2006
  • Posts: 2906
  • 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?
  • SpooF
  • Ice Cream
  • Bronze Member
  • User avatar
  • Joined: 22 May 2004
  • Posts: 2438
  • Loc: Richland, WA
  • Status: Offline

Post March 24th, 2008, 1:22 pm

lol, sorry, I thought I added that.

CentOS 5
"For the last two weeks, the Linux army has seized on Tuttle, Oklahoma city manager Jerry Taylor as a symbol of all that's wrong with the world." - The Register
  • Don2007
  • Web Master
  • Web Master
  • No Avatar
  • Joined: 21 Nov 2006
  • Posts: 2906
  • 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.
  • Merlyn
  • Guru
  • Guru
  • User avatar
  • Joined: 04 Dec 2003
  • Posts: 1012
  • 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: 23 Jun 2006
  • Posts: 1896
  • 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.
  • Don2007
  • Web Master
  • Web Master
  • No Avatar
  • Joined: 21 Nov 2006
  • Posts: 2906
  • 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.
  • jflynn
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: 23 Jun 2006
  • Posts: 1896
  • Loc: Baker City, Oregon
  • Status: Offline

Post March 26th, 2008, 3:15 pm

that's how you set up subnets...
  • Don2007
  • Web Master
  • Web Master
  • No Avatar
  • Joined: 21 Nov 2006
  • Posts: 2906
  • 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?
  • 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
  • Moderator: grinch2171
  • Users browsing this forum: No registered users and 101 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
 
 

© Unmelted Enterprises 1998-2008. Driven by phpBB © 2001-2008 phpBB Group.

 
 
 
 

Need a pre-made web design for your website?

Check out our templates here: Ozzu Templates


400+ FREE Website Templates. Download Now!