Start a Conversation

Unsolved

This post is more than 5 years old

9084

September 26th, 2017 16:00

DD6300 - failed to add new static route

Hello,

actually it is not possible to add a new entry fpr a static route for a new generated interface on DD63300.

Error :

Route command system error.

Usage: route [add|del] [net|host] target[/prefix] [netmask Nm] [gw Gw] [dev If] [table Tbl]

My Command on CLI:

route add -net 172.17.10.0 netmask 255.255.255.0 gw 172.17.10.1 veth1.10

static route for a s

Why i can't add a new static route for the configured virtual Interface vet1.10 ????

Actual Configuration:

Table: main

Kernel IP routing table

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

0.0.0.0         192.168.3.1     0.0.0.0         UG    0      0        0 eth1d

127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo

172.17.10.0     0.0.0.0         255.255.255.0   U     0      0        0 veth1.10

192.168.3.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1a

192.168.3.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1d

192.168.3.0     0.0.0.0         255.255.255.0   U     0      0        0 ethMa

IPv4 Default Gateways

gateway IP    source

-----------   ------

172.16.11.1   static

192.168.3.1   dhcp

-----------   ------

kind regards

208 Posts

September 27th, 2017 03:00

The command reference docs are incorrect and do not reflect changes made in DDOS6, I've requested an update to them.

You need;

net route add net 172.17.10.0 netmask 255.255.255.0 gw 172.17.10.1 dev veth1.10

That should work for you I think, the outputs don't really drive you to this subtle change but hopefully we'll be back on track with the docs soon.

HTH, Jonathan

4 Posts

September 27th, 2017 03:00

hello jbrooksu,

if i entered your command the cli-output is as follows:

Route command system error.

RTNETLINK answers: File exists

14.3K Posts

September 29th, 2017 03:00

I recently deployed one DD6300 and I did this via GUI which changed a bit - didn't do over CLI.  I do not have access to it now, but I used 6.0.30 DDOS if I remember correctly and I actually added default route and the specific route for interface only. 

4 Posts

September 29th, 2017 04:00

configuration via GUI results in the same error.
activating static route for a specific interface is not possible --> BUG ???
I will create/opened a support-case for this.

14.3K Posts

October 2nd, 2017 01:00

Check https://support.emc.com/kb/305970  I find a bit strange that file already exist message and it seems to be answered in that KB.

116 Posts

October 2nd, 2017 05:00

Hi!

I don't see why do you want to define a static route (and gw??) to 172.17.10/24..

You already have an interface in this network:

172.17.10.0     0.0.0.0         255.255.255.0   U     0      0        0 veth1.10

veth1.10 will be used for outgoing traffic to this subnet by default.

1 Message

January 3rd, 2019 17:00

any update?  i am also getting the same message but is that because it already exists?

1 Message

May 17th, 2021 22:00

Route command system error.

 

Usage: route [add|del] [net|host] target[/prefix] [netmask Nm] [gw Gw] [dev If] [table Tbl]

 

My Command on CLI:

 

route add -net 172.17.10.0 netmask 255.255.255.0 gw 172.17.10.1 veth1.10

static route for a s

 

Why i can’t add a new static route for the configured virtual Interface vet1.10 ????

 

Actual Configuration:

 

Table: main

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

0.0.0.0 192.168.3.1 0.0.0.0 UG 0 0 0 eth1d

127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo

172.17.10.0 0.0.0.0 255.255.255.0 U 0 0 0 veth1.10

192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1a

192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1d

192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0 ethMa

 

IPv4 Default Gateways

gateway IP source

———– ——

172.16.11.1 static

192.168.3.1 dhcp

 

No Events found!

Top