Re: How to delete second default route

2019-10-04 Thread Jonathan Dowland
On Fri, Oct 04, 2019 at 08:47:57AM +0200, Johann Spies wrote: How do I remove the first default route in this list? $ sudo ip route list default dev enp0s25 scope link default via 192.168.1.1 dev wlo1 proto dhcp metric 600 … sudo ip route del default dev enp0s25 scope link Basically write

Re: How to delete second default route

2019-10-04 Thread Lee
On 10/4/19, Johann Spies wrote: > This problem arised recently after an upgrade (running sid) > > How do I remove the first default route in this list? I'd leave both in - that way things should Just Work if either of the interfaces goes down. The question then becomes which inter

Re: How to delete second default route

2019-10-04 Thread Thomas Pircher
Johann Spies wrote: > $ sudo ip route list > default dev enp0s25 scope link > default via 192.168.1.1 dev wlo1 proto dhcp metric 600 > 169.254.0.0/16 dev wlo1 scope link metric 1000 Have you tried specifying the device and/or the GW address, to narrow down which route you want to delete, i.e.: su

How to delete second default route

2019-10-03 Thread Johann Spies
This problem arised recently after an upgrade (running sid) How do I remove the first default route in this list? ip route del default does not do it. When I disable enp0s25 the second line (via 192.168.1.1) will be the only and correct default route. In that case "ip route del default&

NetworkManger: Prioritize interfaces for default route

2015-03-29 Thread Bernd Naumann
test/devel routers I have different ethernet configurations. I wanted to configure NetworkManger to handle wlan0 as my primary interface for having the the default route. The behaviour of NetworkManger is that it will always use eth0. So if I plugin and plugout an ethernet cable NetworkManger

Re: SIOCDELRT, or: proper syntax to delete default route for an interface?

2015-01-23 Thread Sven Hartge
Matt Ventura wrote: > On 01/23/2015 04:05 AM, Sven Hartge wrote: >> Matt Ventura wrote: > Well, that confirms my original suspicion. The F5 VPN is throwing its > default route over the original one, and that's causing traffic to the > OpenVPN server to try to route ove

Re: SIOCDELRT, or: proper syntax to delete default route for an interface?

2015-01-23 Thread Matt Ventura
00 tun0 Try it with 0.0.0.0 instead of default. I didn't notice that the netmask was 128.0.0.0 rather than 0.0.0.0. Not sure why it would do that or if that has some kind of special meaning. VPN clients normally use two routes as "default" route: 0.0.0.0/128.0.0.0

Re: SIOCDELRT, or: proper syntax to delete default route for an interface?

2015-01-23 Thread Sven Hartge
0.8.0.5255.255.255.255 UGH 1 00 tun0 > Try it with 0.0.0.0 instead of default. I didn't notice that the netmask > was 128.0.0.0 rather than 0.0.0.0. Not sure why it would do that or if > that has some kind of special meaning. VPN clients normally use two route

Re: SIOCDELRT, or: proper syntax to delete default route for an interface?

2015-01-22 Thread Matt Ventura
00 eth0 10.144.0.1 0.0.0.0 255.255.255.255 UH0 00 ppp0 128.0.0.0 10.144.15.100 128.0.0.0 UG1 00 ppp0 134.67.15.3010.8.0.5255.255.255.255 UGH 1 00 tun0 Once at that point, I'm directed[3] (IIUC) to

SIOCDELRT, or: proper syntax to delete default route for an interface?

2015-01-22 Thread Tom Roche
255.255.255.255 UH0 00 ppp0 128.0.0.0 10.144.15.100 128.0.0.0 UG1 00 ppp0 134.67.15.3010.8.0.5255.255.255.255 UGH 1 00 tun0 Once at that point, I'm directed[3] (IIUC) to delete the default route being set by

Re: Default Route On Boot.

2005-11-03 Thread Mariusz Kruk
Nick Porter napisał(a): I'm at a complete loss of how to make this work. The way I understand it there are three ways to set a default route when the machine boots. 1) Use DHCP. 2) From the Interfaces file. 3) A script in one of the if-x.d directorys. I have tried all these and just

Re: Default Route On Boot.

2005-11-03 Thread Marc PERRUDIN
225.225.225.0 is not a valid netmask. Your system can't determine if your gateway and your address are on the same network. Try with 255.255.255.0. cu. Nick Porter a écrit : >I'm at a complete loss of how to make this work. The way I understand it >there are three ways to set

Re: Default Route On Boot.

2005-11-03 Thread Frank Gevaerts
On Thu, Nov 03, 2005 at 01:54:11PM -, Nick Porter wrote: > # The primary network interface > auto eth0 > > iface eth0 inet static > address 192.168.0.42 > netmask 225.225.225.0 This is wrong : should be 255.255.255.0 Frank -- "Debugging is twice as hard as writing the code in the first pl

Default Route On Boot.

2005-11-03 Thread Nick Porter
I'm at a complete loss of how to make this work. The way I understand it there are three ways to set a default route when the machine boots. 1) Use DHCP. 2) From the Interfaces file. 3) A script in one of the if-x.d directorys. I have tried all these and just don't seem to be able

Re: change IP and default route.

2004-11-08 Thread Ben Hutchings
Dr. David Kirkby wrote: Thank you very much for that - and everyone else that replied. I had not seen your post before I see others mentioning /etc/network/interfaces, so edit that. so was not sure what to put for the broadcase, although since the original ended in .255, I went for that too. R

Re: change IP and default route.

2004-11-05 Thread Dr. David Kirkby
Jonathan Colaco wrote: On Thu, 04 Nov 2004 18:53:15 +, Dr. David Kirkby <[EMAIL PROTECTED]> wrote: Hi, I installed a system on a company network with a fixed IP (213.78.42.115), but recently bought a small router. The PC will now have to use the router as the default route, and

Re: change IP and default route.

2004-11-04 Thread Dave Ewart
42.115), but recently bought a small router. The PC will now > >have to use the router as the default route, and I will make the IP > >private. > > > >The following commands do what I want > > > ># ifconfig eth0 192.168.123.1 netname 255.255.255.0 # set my IP t

Re: change IP and default route.

2004-11-04 Thread Joe
In message <[EMAIL PROTECTED]>, Dr. David Kirkby <[EMAIL PROTECTED]> writes Hi, I installed a system on a company network with a fixed IP (213.78.42.115), but recently bought a small router. The PC will now have to use the router as the default route, and I will make the IP p

Re: change IP and default route.

2004-11-04 Thread Shreyas Ananthan
"Dr. David Kirkby" <[EMAIL PROTECTED]> writes: > But how do I set this to happen automatically? I changed the IP in > /etc/hosts, and had an attempt at changing /etc/gateways, but clearly > not successfully, as the routing does work after a reboot - I need to > type these commands again. you nee

Re: change IP and default route.

2004-11-04 Thread Jonathan Colaco
On Thu, 04 Nov 2004 18:53:15 +, Dr. David Kirkby <[EMAIL PROTECTED]> wrote: > Hi, > I installed a system on a company network with a fixed IP > (213.78.42.115), but recently bought a small router. The PC will now > have to use the router as the default route, and

change IP and default route.

2004-11-04 Thread Dr. David Kirkby
Hi, I installed a system on a company network with a fixed IP (213.78.42.115), but recently bought a small router. The PC will now have to use the router as the default route, and I will make the IP private. The following commands do what I want # ifconfig eth0 192.168.123.1 netname

Re: Preventing default route being wrongly attached

2004-04-05 Thread robert fernando
Hi fellow users, Q1 If diaable diald will I be able to accept incoming dialup connections to my pc/modem. Which package would be used insead to enable this functionality. Q2 How to I prevent diald being activated on my pc bootling linux. thanks Robert Fernando John Hasler wrote: robert fernand

Re: Preventing default route being wrongly attached

2004-04-05 Thread John Hasler
robert fernando writes: > Do I need to get diald and pppd working together if I want to support > dial in connections and ppp out to my isp. You don't need diald at all. Pppd supports demand dialing. Run pppconfig, go to 'Advanced', and select 'Demand'. -- John Hasler [EMAIL PROTECTED] (John Has

Re: Preventing default route being wrongly attached

2004-04-05 Thread robert fernando
Q1 How do I reconfigure a Debian 3.x system 2.2.20-idepci so that the default route is not tied to the sl0 / slip device. eth0 is setup to be connected to a 3c509 ethernert card. Why do I need to do this. It appears that having sl0 atached to the default route before doing a dial up which uses ppp cau

Re: Preventing default route being wrongly attached

2004-04-03 Thread Bill Marcum
On Fri, Apr 02, 2004 at 02:35:19AM +0100, robert fernando wrote: > Hi all, > Q1 How do I reconfigure a Debian 3.x system 2.2.20-idepci so that the > default route is not tied to the sl0 / slip device. > eth0 is setup to be connected to a 3c509 ethernert card. > > Why do I nee

Re: Preventing default route being wrongly attached

2004-04-02 Thread Andreas Janssen
Hello robert fernando (<[EMAIL PROTECTED]>) wrote: > Andreas Janssen (<[EMAIL PROTECTED]>) wrote: >> robert fernando (<[EMAIL PROTECTED]>) wrote: >> >>>Q1 How do I reconfigure a Debian 3.x system 2.2.20-idepci so that >>>the default route is not

Re: Preventing default route being wrongly attached

2004-04-02 Thread robert fernando
(<[EMAIL PROTECTED]>) wrote: > > >>Q1 How do I reconfigure a Debian 3.x system 2.2.20-idepci so that the >>default route is not tied to the sl0 / slip device. >>eth0 is setup to be connected to a 3c509 ethernert card. >> >>Why do I need to do this. >&g

Re: Preventing default route being wrongly attached

2004-04-02 Thread Andreas Janssen
Hello robert fernando (<[EMAIL PROTECTED]>) wrote: > Q1 How do I reconfigure a Debian 3.x system 2.2.20-idepci so that the > default route is not tied to the sl0 / slip device. > eth0 is setup to be connected to a 3c509 ethernert card. > > Why do I need to do this. > It

Preventing default route being wrongly attached

2004-04-01 Thread robert fernando
Hi all, Q1 How do I reconfigure a Debian 3.x system 2.2.20-idepci so that the default route is not tied to the sl0 / slip device. eth0 is setup to be connected to a 3c509 ethernert card. Why do I need to do this. It appears that having sl0 atached to the default route before doing a dial up

Re: wireless + wired + dhcp +... : unproper default route

2003-12-30 Thread Jerome BENOIT
Thanks for your reply. Matt Foster wrote: Quoting Jerome BENOIT ([EMAIL PROTECTED]): Thanks for your reply: fellowing the below advice I wrote an adquate script that I put in the directory /etc/network/if-post-down.d to set a default route when it is missing: route add default gw According to

Re: providing default route

2003-09-21 Thread Chad M Stewart
e to 'man interfaces' for even more help. Thank you to Greg and Marc. -Chad- On Sunday, September 21, 2003, at 12:55 PM, Greg Folkert wrote: On Sun, 2003-09-21 at 12:10, Chad M Stewart wrote: Where is the proper place in debian to define the default route? I've got my own h

Re: providing default route

2003-09-21 Thread Alexander Schmehl
* Chad M Stewart <[EMAIL PROTECTED]> [030921 18:10]: > Where is the proper place in debian to define the default route? I've > got my own hack, but I'd like to know the 'proper' place. In the file /etc/network/interfaces with a "gateway"-line.

Re: providing default route

2003-09-21 Thread David Z Maze
Chad M Stewart <[EMAIL PROTECTED]> writes: > Where is the proper place in debian to define the default route? > I've got my own hack, but I'd like to know the 'proper' place. You probably want a 'gateway' line in /etc/network/interfaces on exactl

Re: providing default route

2003-09-21 Thread Greg Folkert
On Sun, 2003-09-21 at 12:10, Chad M Stewart wrote: > Where is the proper place in debian to define the default route? I've > got my own hack, but I'd like to know the 'proper' place. /etc/network/interfaces: iface eth0 inet static address 192.168.1.200

Re: providing default route

2003-09-21 Thread Marc Wilson
On Sun, Sep 21, 2003 at 12:10:23PM -0400, Chad M Stewart wrote: > Where is the proper place in debian to define the default route? I've > got my own hack, but I'd like to know the 'proper' place. Unless you're doing something truly outrageous, there should

providing default route

2003-09-21 Thread Chad M Stewart
Where is the proper place in debian to define the default route? I've got my own hack, but I'd like to know the 'proper' place. -Chad- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

lost default route -- ICMP redirect?

2002-02-01 Thread martin f krafft
one of my machines just lost its default route out of the blue. it's not hacked, and process accounting shows absolutely no actions on root's part which could have led to this. so the only real thing i can think of is an ICMP redirection, and /proc/sys/net/ipv4/conf/eth0/allow_redirect

Re: default-route?

2001-10-22 Thread Anthony J. Breeds-Taurima
that the normal > startup works? Check /etc/network/interfaces. In your eth0 stanza if you have a gateway line remove it. restart networking (/etc/init.d/networking restart) And you should see that you now don't have a default route. It will stay this way after a reboot. Yours Tony. /* *

default-route?

2001-10-22 Thread Karl
Hi! I have a Debian Sid with PPPoE, using two network cards. My problem is, that I have to do a "route del default" and then start PPPoE every time I want to connect to the net. Does anyone have an idea what I have to do so that the normal startup works? Tnx Karl

Re: Set the default route?

2001-10-17 Thread Mike Missett
from there if > > I were a little less ignorant). Any help would be most appreciated. > > Do you have a "gateway" directive within the eth0 stanza in > /etc/network/interfaces? If so, comment it out. When networking is > restarted, a default route on eth0 will not be

Re: Set the default route?

2001-10-17 Thread Nathan E Norman
the lists, experimentation, or the > man page (although I probably should be able to from there if > I were a little less ignorant). Any help would be most appreciated. Do you have a "gateway" directive within the eth0 stanza in /etc/network/interfaces? If so, comment it out. When ne

Re: Set the default route?

2001-10-17 Thread Dave Sherohman
On Wed, Oct 17, 2001 at 08:59:43AM -0500, Mike Missett wrote: > Remove that defaultroute and ppp shoul work." > > I think this is what I need to do, my question is, how do I do it? route del default -- When we reduce our own liberties to stop terrorism, the terrorists have already won. - reveri

Set the default route?

2001-10-17 Thread Mike Missett
I seem to be having the same problem as some other people in the mailing lists, namely, that the defaultroute for ppp is going to eth0 when that's not my connection. Advising somebody a week or so ago John Hasler suggested: "You probably have a defaultroute pointing to eth0 and pppd won't replace

PPP default route

2001-06-19 Thread Alex Suzuki
UG0 00 eth0 I configured my ppp connection with pppconfig, and I have defaultroute set. However, a default route already exists (it points to the lan gateway). When I build up a connection using pon it connects, retrieves an IP and the nameservers, but it does NOT set a new

Re: default route by wvdial not set after temporary eth0-access (woody)

2001-03-12 Thread David Wright
n /etc back to what they were before (I had a temporary static > id, different domainname). I tried to understand where wvdial sets (or > should set) the route but not to avail. > > Where do I tell wvdial to automatically set the route ? I'm not sure you can. pppd should add the

default route by wvdial not set after temporary eth0-access (woody)

2001-03-12 Thread Helge Kreutzmann
Hello ! I had potato on my machine until recently. To upgrade, I took my machine to work, edited /etc/networks/interface to use eth0 (instead of the ppp-link I ordinary use) and upgraded to woody. Now at home I want to use the ppp-link again. Unfortunately after wvdial I have to add the ppp-route

ipppd deletes default route

2001-02-17 Thread Jens Müller
I have a Woody system (up-to-date), and isdnutils is set up in the standard way. in device.ippp0, the default route is being set, i.e., right after typing "/etc/init.d/restart", a default route to ippp0 is set. But when I dial out with "isdnctrl dial ippp0", the default ro

ipppd deletes default route

2001-02-17 Thread Jens Müller
I have a Woody system (up-to-date), and isdnutils is set up in the standard way. in device.ippp0, the default route is being set, i.e., right after typing "/etc/init.d/restart", a default route to ippp0 is set. But when I dial out with "isdnctrl dial ippp0", the default ro

Re: default route

2001-01-19 Thread will trillich
On Sun, Jan 14, 2001 at 08:42:41PM +1100, Matt Chipman wrote: > Thanks for all the replies everybody, the problem is still there, and > whatever route i put in /etc/network/interfaces still doesnt apply at boot. > > I am thinking maybe i have to have a package installed that makes the route > stic

Re: default route

2001-01-14 Thread jake
m: "Matt Chipman" <[EMAIL PROTECTED]> > To: > Sent: Saturday, January 13, 2001 11:31 AM > Subject: default route > > > Hi all > > > > Just getting used to debian and need to add a default route at boot time. > i > > have the route but what file do

re: default route

2001-01-14 Thread Matt Chipman
relies on? any ideas? Thanks -Matt - Original Message - From: "Matt Chipman" <[EMAIL PROTECTED]> To: Sent: Saturday, January 13, 2001 11:31 AM Subject: default route > Hi all > > Just getting used to debian and need to add a default route at boot time. i

Re: default route

2001-01-12 Thread will trillich
On Sat, Jan 13, 2001 at 11:31:58AM +1100, Matt Chipman wrote: > Hi all > > Just getting used to debian and need to add a default route at boot time. i > have the route but what file do i need to add it to? > > Currently i add it manually after the machine boots. > > Luck

Re: default route

2001-01-12 Thread Defresne Sylvain
* Matt Chipman ([EMAIL PROTECTED]) wrote: > Hi all > > Just getting used to debian and need to add a default route at boot time. i > have the route but what file do i need to add it to? Add it in /etc/networks/interface ... (man interfaces) > Currently i add it man

default route

2001-01-12 Thread Matt Chipman
Hi all Just getting used to debian and need to add a default route at boot time. i have the route but what file do i need to add it to? Currently i add it manually after the machine boots. Lucky its not windows or i'd have to do it every day at least! :) thanks -Matt

PPPD and default route

2000-10-31 Thread Vincent Gaines
an internet address gives me the message "Network is unreachable". Is this related to the line in mysyslog file where it says: Oct 30 16:50:33 overseer pppd[430]: default route ioctl(SIOCADDRT): Network is unreachable(101) Oct 30 16:50:33 overseer pppd[430]: Cannot determine ethernet a

Re: Default Route

2000-09-28 Thread Blair M. Cummings
That did it!! I had it all but the "up" Thanks alot! Blair On Thu, 28 Sep 2000, Armin Joellenbeck wrote: > On Thu, Sep 28, 2000 at 06:14:34PM +, Blair M. Cummings wrote: > > It's not in the same subnet but works when I add a route of .. route add > > -net 0.0.0.0 netmask 0.0.0.0 dev eth0 m

Re: Default Route

2000-09-28 Thread Armin Joellenbeck
On Thu, Sep 28, 2000 at 06:14:34PM +, Blair M. Cummings wrote: > It's not in the same subnet but works when I add a route of .. route add > -net 0.0.0.0 netmask 0.0.0.0 dev eth0 metric 1. > > Thats how I'm able to email you this email (grin) > > But I think you are right when it comes to the

Re: Default Route

2000-09-28 Thread Blair M. Cummings
It's not in the same subnet but works when I add a route of .. route add -net 0.0.0.0 netmask 0.0.0.0 dev eth0 metric 1. Thats how I'm able to email you this email (grin) But I think you are right when it comes to the interfaces file just asking for gateway= xxx.xxx.xxx.xxx. I've always had to pu

Re: Default Route

2000-09-28 Thread Blair M. Cummings
gt; On Thu, 28 Sep 2000, Alberto Brealey wrote: > > > > > On Thu, Sep 28, 2000 at 03:52:29PM +, Blair M. Cummings wrote: > > > > I hate to write the list about this but I'm not having much luck with > > > > keeping a default route after reboot. I was

Re: Default Route

2000-09-28 Thread Alberto Brealey
On Thu, Sep 28, 2000 at 05:55:30PM +, Blair M. Cummings wrote: > mention. What if the default gateway is in a different subnet? Would that > make a difference? gateway has to be on the same subnet, cuz the machine has to know how to get to that gateway, in order to go elsewhere. alberto.

Re: Default Route

2000-09-28 Thread will trillich
0 at 03:52:29PM +, Blair M. Cummings wrote: > > > I hate to write the list about this but I'm not having much luck with > > > keeping a default route after reboot. I was able to keep it with a > > > > try adding "gateway aaa.bbb.ccc.ddd" at the end

Re: Default Route

2000-09-28 Thread Blair M. Cummings
t I'm not having much luck with > > keeping a default route after reboot. I was able to keep it with a > > try adding "gateway aaa.bbb.ccc.ddd" at the end of the iface section for the > interface where the default route should be. this in /etc/network

Re: Default Route

2000-09-28 Thread Alberto Brealey
On Thu, Sep 28, 2000 at 03:52:29PM +, Blair M. Cummings wrote: > I hate to write the list about this but I'm not having much luck with > keeping a default route after reboot. I was able to keep it with a try adding "gateway aaa.bbb.ccc.ddd" at the end of the iface sect

Default Route

2000-09-28 Thread Blair M. Cummings
I hate to write the list about this but I'm not having much luck with keeping a default route after reboot. I was able to keep it with a statement in /etc/network/interfaces using route add -net 0.0.0.0 netmask 0.0.0.0 dev eth0 metric 1 under Debian 2.1. With the upgrade to 2.2, this no l

Re: ppp does not set default route

2000-07-28 Thread [EMAIL PROTECTED]
e ppp-howto I find: e.van. > e.van. > If pppd refuses to set up a default route, it is because (quite e.van. > correctly) it refuses to remove/replace an existing default route. e.van. > e.van. > The usual reason that this error occurs is that some distributions set e.van. > u

ppp does not set default route

2000-07-28 Thread Erik van der Meulen
-howto I find: If pppd refuses to set up a default route, it is because (quite correctly) it refuses to remove/replace an existing default route. The usual reason that this error occurs is that some distributions set up a default route via your Ethernet card as opposed to setting up a

Firewall default route

2000-02-21 Thread Patrick Kirk
Hi all, I'm putting a firewall/proxy server in for a company on Wednesday that will have a fixed IP number 212.19.66.nn They also have a WAN with a default gateway 192.1.1.1 How do I set up the routes for that all internet traffic is routed thru the Debian firewall I'll install but all traffic t