*     I need some help here. I have hard time to change the default route.
I tried delete and commit, set (new value) 

*     and commit....nothing sucessfull. Check below. Does anyone can point
out my mistake?

 

Hmm, that's odd.  I just booted up a vc3 and tried the same thing:

 

[EMAIL PROTECTED] show protocols static

    route 0.0.0.0/0 {

        next-hop: 172.16.117.1

    }

 

[edit]

[EMAIL PROTECTED] delete protocols static route 0.0.0.0/0

Deleting:

    0.0.0.0/0 {

        next-hop: 172.16.117.1

    }

 

OK

[edit]

[EMAIL PROTECTED] commit

[edit]

OK

[EMAIL PROTECTED] show protocols static

 

[edit]

 

 

Can you check /var/log/messages to see if it logged any errors?  You could
also try "delete protocols static".  Do you happen to also have a default
gateway setup with "set system gateway <ip addr>"?

 

stig

 

 

 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Philippe
Marcais
Sent: Wednesday, November 21, 2007 5:46 PM
To: [EMAIL PROTECTED]
Subject: [Vyatta-users] Cannot remove/change default route

 

I need some help here. I have hard time to change the default route. I
tried delete and commit, set (new value) and commit....nothing sucessfull.
Check below. Does anyone can point out my mistake?

 

[EMAIL PROTECTED]> show version
Baseline Version: vc3
Booted From: livecd
 

[EMAIL PROTECTED]> configure
Entering configuration mode.
There are no other users in configuration mode.
[EMAIL PROTECTED]  <mailto:[EMAIL PROTECTED]> # show protocols
    static {
        route 0.0.0.0/0 {
            next-hop: 10.60.40.2
        }
    }

[edit]
[EMAIL PROTECTED] 

[EMAIL PROTECTED] delete protocols static route 0.0.0.0/0
Deleting: 
    0.0.0.0/0 {
        next-hop: 10.60.40.2
    }

OK
[edit]
[EMAIL PROTECTED] show protocols
    static {
-       route 0.0.0.0/0 {
-           next-hop: 10.60.40.2
-       }
    }

[edit]
[EMAIL PROTECTED] 

[EMAIL PROTECTED] commit
[edit]
Commit Failed
[EMAIL PROTECTED] t delete unicast route for 0.0.0.0/0: no such
[EMAIL PROTECTED] 

_______________________________________________
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users

Reply via email to