LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-26-2014, 03:06 PM   #1
mirader
LQ Newbie
 
Registered: Jul 2006
Posts: 3

Rep: Reputation: 0
Slackware: How to connect a linux box with a static IP to a E2500 router with tomato


I have an E2500 router flashed with Tomato by Shibby and openvpn client. I have a windows 7 box that works fine.. I also have a Slackware linux 14 box with a static ip. The E2500 won't see the linux box.. I would like to know how to do get my linux box hooked to the router and run all the services, mail, imap etc.. Can anyone help??

Last edited by mirader; 02-26-2014 at 03:18 PM.
 
Old 02-26-2014, 03:09 PM   #2
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733
Is the Slackware box's IP in the same subnet / on the same network as the router? Can you ping the Slack box from the router?
 
Old 02-26-2014, 03:34 PM   #3
mirader
LQ Newbie
 
Registered: Jul 2006
Posts: 3

Original Poster
Rep: Reputation: 0
No ping.. I have put my ip 173.160.***.*** in the static dhcp, and my windows box is an ip 192.168.**.**. Alot of people said thats all I had to do.. I have searched everywhere!!
Now when I put now when I put the ips for the router in eth0:0 and make the gateway 192.168.**, I can connect but have no services..

Last edited by mirader; 02-26-2014 at 03:46 PM.
 
Old 02-26-2014, 03:37 PM   #4
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143
Your Slackware box needs to be in the same subnet.

If your router is say 192.168.1.1, and your netmask is 255.255.255.0 (typical), then any device on your network needs to have the ip 192.168.1.*

There's no need to put your Slackware box's IP in the static dhcp table on your router, since the Slackware box is not using dhcp. Just make sure the Slackware box's IP is not in the router's dhcp range or you may run into a conflict down the road.

Last edited by suicidaleggroll; 02-26-2014 at 03:38 PM.
 
Old 02-26-2014, 05:22 PM   #5
mirader
LQ Newbie
 
Registered: Jul 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Okay!! I put my my linux box to 192.168.1.*. Is there any I should do to box??
 
Old 02-27-2014, 03:53 PM   #6
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733
If you're in the same subnet now, it should just work. How did you put yourself into that subnet? and also, is it, in fact, working?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Lynksys E2500 router canopus417 Linux - Networking 2 06-11-2013 06:45 PM
Fedora Newbie...needs to connect Linux box to Linksys router for internet Foflaco84 Linux - Networking 2 03-29-2009 03:24 PM
Connect Linux box to internet through ADSL router arbangara Linux - Networking 2 07-23-2008 11:41 AM
server will not connect using static ip, SMC8013WG-CCR. modem/router soulwatcher1974 Linux - Networking 1 02-13-2006 05:08 PM
Cannot Connect from windows xp to linux slackware box swatward Linux - Networking 0 11-07-2005 07:01 PM

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

All times are GMT -5. The time now is 02:26 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