LinuxQuestions.org
Visit Jeremy's Blog.
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 06-24-2003, 06:51 AM   #1
hampel
Member
 
Registered: Jun 2003
Posts: 62

Rep: Reputation: 15
ifconfig expert question


Hello!

If i let ifconfig set up a new interface, it automatically creates a new route especially for that interface.
How can i prevent ifconfig adding this route into the routing table?? (Because i don't want this route).
 
Old 06-24-2003, 07:31 AM   #2
stony
Member
 
Registered: Jun 2003
Location: Europe / Germany / Saarland / Neunkirchen
Distribution: Debian (SID), Gentoo
Posts: 131

Rep: Reputation: 15
Hi,

if you don't want a route use a 32bit netmask (255.255.255.255). that's the only known way to tell ifconfig to not setup a route to the specific device ...

other way is to remove the route by hand with the route command (f.e. if you're using an other subnet)

cu
 
Old 06-25-2003, 03:16 AM   #3
hampel
Member
 
Registered: Jun 2003
Posts: 62

Original Poster
Rep: Reputation: 15
Thanks!

Genau dat meinte ich
 
  


Reply



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
Question for RAM and/or Mobo expert PC_Pal68 Linux - Hardware 10 02-27-2005 08:50 AM
Gnome themes... embarasing question from a should be linux expert. qwijibow Linux - Newbie 4 01-20-2005 06:02 PM
ifconfig question blackzone Linux - Networking 2 09-15-2004 03:19 AM
ifconfig up/down ->Expert question hampel Linux - Networking 10 10-01-2003 11:36 AM
please help - ifconfig/ethernet question JamesM Linux - Networking 3 07-25-2003 08:10 AM

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

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