LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 12-18-2014, 03:56 PM   #1
linux.penguin67
LQ Newbie
 
Registered: Jun 2013
Location: Northern Illinois
Distribution: OpenSuSE, Fedora, plan9
Posts: 9

Rep: Reputation: Disabled
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.
 
Old 12-18-2014, 04:01 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
I can't help with the rest of it, but this part is easy:

Quote:
Originally Posted by linux.penguin67 View Post
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.
Old 12-18-2014, 04:09 PM   #3
linux.penguin67
LQ Newbie
 
Registered: Jun 2013
Location: Northern Illinois
Distribution: OpenSuSE, Fedora, plan9
Posts: 9

Original Poster
Rep: Reputation: Disabled
Thumbs up Thank You

Thank you suicidaleggroll!
Once I get the other problem straightened out, I'll definitely be giving this a go. Just too simple...
 
Old 12-18-2014, 07:23 PM   #4
linux.penguin67
LQ Newbie
 
Registered: Jun 2013
Location: Northern Illinois
Distribution: OpenSuSE, Fedora, plan9
Posts: 9

Original Poster
Rep: Reputation: Disabled
Thumbs up 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
 
  


Reply

Tags
dhcp, dns, dnsmasq, opensuse



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
internet connection sharing problem. Cata1yst Slackware 3 09-13-2009 02:42 PM
Internet connection Sharing Problem usmanshaikh Linux - Networking 3 01-12-2006 05:50 AM
Internet Connection Sharing Problem sayua Linux - Networking 2 03-23-2004 10:10 PM
internet connection sharing problem zammer Linux - Networking 2 09-04-2003 04:03 AM
Problem with Internet Connection Sharing will824 Linux - Networking 0 06-21-2003 10:53 AM

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

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