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-04-2009, 04:41 PM   #31
bartonski
Member
 
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 443
Blog Entries: 1

Rep: Reputation: 48

Quote:
Originally Posted by R03L View Post
/etc/sysconfig/network-scripts/eth0
Code:
GATEWAY0=192.168.1.1
NETMASK0=255.255.255.0
ADDRESS0=192.168.1.102
is the standart of this file..
i think created by networkmanager
I don't think that it's created by network manager... I think that it's a Red Hat thing. I think that it goes the other way around: network manager reads this file when setting routes, which is why your routes keep on getting messed up.

I think that you can change route-eth0 as follows:

Code:
NETMASK0=255.255.255.0
ADDRESS0=192.168.2.1
You don't need a gateway, because you're not sending packets past the 192.168.2.0 network. I believe that ADDRESS0 should match the ip address on eth0.

The routing on wlan0 will take care of its self, because the route is set dynamically when the IP address is assigned via DHCP.
 
1 members found this post helpful.
Old 04-13-2013, 08:57 AM   #32
R03L
Member
 
Registered: Feb 2008
Location: Emmer-compascuum
Distribution: redhat* debian* arch* slack*
Posts: 216

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by bartonski View Post
R03L,

Take another look at my previous post, I added a lot more to it; I think that I may have found a solution.

p.s. where does the nickname 'R03L' come from? It sounds a bit like R2-D2 or C-3PO

Nah mijn name is roel
 
  


Reply

Tags
config, configure, connection, dnsmasq, eth0, internet, ip, kernel, network manager, routing, should, table, wired, wireless, wlan, wlan0



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
dnsmasq: failed to bind DHCP server socket: Address already in use taske Linux - Networking 2 11-08-2009 05:40 PM
Need help setting up a dial on demand dnsmasq dhcp server with a decent firewall i nekkutta Slackware 0 03-22-2008 01:19 PM
dnsmasq: no dhcp ryerke Slackware 8 06-03-2007 06:29 PM
eth0 ip assigned by dhcp , how would i know the ip address of the dhcp server where.. kublador Linux - Networking 14 05-16-2006 06:33 AM
eth0 not getting IP address from DHCP server Venefyxatu Linux - Networking 4 05-04-2005 06:45 PM

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

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