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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-18-2014, 03:56 PM
|
#1
|
LQ Newbie
Registered: Jun 2013
Location: Northern Illinois
Distribution: OpenSuSE, Fedora, plan9
Posts: 9
Rep:
|
OpenSuSE 13.2 problem sharing internet connection
Howdy everyone. I did a fresh install of OpenSuSE 13.2 on a machine that had been running OpenSuSE 13.1.
Here's the setup:
Cable modem --> server --> wireless router --> rest of the network.
On the server I can access the internet just fine. I had it setup, with OpenSuSE 13.1, so all the other devices on the network could also access the internet. I setup DHCP, and the router gets an ip address from the server... I think. The router tells me it has a DHCP connection and an ip addy of 192.168.0.21. Problem is, I can't ping the router from the server?
The server receives it's ip address from the cable modem via DHCP. It has 2 Nics, enp0s25(old eth0), and enp2s0(old eth1). enp0s25 is the nic facing the cable modem and enp2s0 is the internal nic facing the wireless router. Before the fresh install, all was working just fine. It's not a hardware issue, it's a wetware issue.
I've installed DNS but it isn't setup. I thought I had both DNS & DHCP running before, and I was using masquerading.
A couple of other things:
The server runs apache.
The nic on the server connected to the wireless has an ip of 192.168.0.17
The wireless router hands out ips in the 192.168.1.2 - 192.168.1.35 range. They can all talk to each other.
If possible, I'd like to have the server on the same subnet as the rest of the internal network, this used to be a problem...
Can anyone help? What do you need to know?
Thank you in advance.
|
|
|
12-18-2014, 04:01 PM
|
#2
|
LQ Guru
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573
|
I can't help with the rest of it, but this part is easy:
Quote:
Originally Posted by linux.penguin67
The nic on the server connected to the wireless has an ip of 192.168.0.17
The wireless router hands out ips in the 192.168.1.2 - 192.168.1.35 range. They can all talk to each other.
If possible, I'd like to have the server on the same subnet as the rest of the internal network, this used to be a problem...
|
You need to configure a static local IP for your wireless router on the 192.168.0.x subnet, disable its DHCP server, and plug the cable from your server into one of the LAN ports on the wireless router instead of the WAN port. This will cause the wireless router to function as a wireless access point instead. All DHCP requests will be served by your server, and the wireless router will simply act as a transparent wired/wireless bridge. Some routers will have a special setting you enable called "access point" or similar, which modifies the configuration settings to allow you to do this easily. If not, doing the above steps should accomplish your goal on almost any SOHO wireless router out there. I've personally done this on a Linksys WRT54GL, Asus RT-N16, Asus RT-AC68U, and a couple of others I can't remember.
Last edited by suicidaleggroll; 12-18-2014 at 04:04 PM.
|
|
1 members found this post helpful.
|
12-18-2014, 04:09 PM
|
#3
|
LQ Newbie
Registered: Jun 2013
Location: Northern Illinois
Distribution: OpenSuSE, Fedora, plan9
Posts: 9
Original Poster
Rep:
|
Thank You
Thank you suicidaleggroll!
Once I get the other problem straightened out, I'll definitely be giving this a go. Just too simple...
|
|
|
12-18-2014, 07:23 PM
|
#4
|
LQ Newbie
Registered: Jun 2013
Location: Northern Illinois
Distribution: OpenSuSE, Fedora, plan9
Posts: 9
Original Poster
Rep:
|
Solution to Internet Connection Sharing, Open SuSE 13.2
This is a link to an easy to follow set of instructions for setting up OpenSuSE to share your internet connection:
https://en.opensuse.org/SDB:Internet_connection_sharing
|
|
|
All times are GMT -5. The time now is 02:56 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
|
|