LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack 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: 438
Blog Entries: 1

Rep: Reputation: 47

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.
  


Reply

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


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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-23-2008 09:44 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


All times are GMT -5. The time now is 08:33 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration