I have cent os 6.5 and am trying to make few routes permanent for bond:
i have added two routes using below two commands :
post which route command output is as below :
but afeter i restart the network routes are not persistent , output of route command post network restart is as follows :
Kernel IP routing table
can someone please let me know how i can add correct routes permanently which will persist post network restart as well.
Hello ,
We have 3 rs/6000 server's running aix on our local network, so each time I try to ping one of these servers we get a "network is down" error , I've been instructed to use to route add command which is ...
#route add server.ip router.ip
after this the ping command works fine ,... (6 Replies)
I have two networks connected by cisco routers. My first subnet is 192.168.0.0 and my second is 192.168.1.0.
My SCO unix machine is on the 192.168.1.0 subnet with an IP of 192.168.1.231. It can see the entire .1.0 subnet but nothing on the other network.
My cicso router(gateway) to the other... (6 Replies)
Hi,
My H-UX box has the GW pointing to 10.10.10.1 and I need add it a new route pointing to 192.168.80.x with the GW 10.10.10.13
I tried with:
#route add 192.168.80.2 255.255.255.255 10.10.10.13
but I get: add net 192.168.80.0: gateway 255.255.255.0: Network is unreachable
I tried with... (4 Replies)
I have a system that i want to reach via a vpn created vi a fierwall.The fierwall in an other system.
The ip i am trying to get to is 172.16.4.48
I need to get to it via the hme1 interface.
The vpn gateway has this ip 172.30.50.1
I need to clean up the routing table and make this work; or is it... (5 Replies)
Hi,
I am trying to add route command in Solaris 10 machine in the following fashion:
route add -host 10.8.112.10 180.144.1.250 -interface lo0:1
this command fails with an error "lo0:1: bad value"
I want to add a route to 10.8.112.10 that picks 180.144.1.250 as the gateway via the... (3 Replies)
I have built a new linux server, via a iLo connection.
and I am trying to connect via my desktop to the server I have just built to the management port eth0 via putty.
Please could some one advise how to connect to this server from my desktop. Do i need to create add a route access on the... (0 Replies)
Hi need to add 2 routes, one on each server.
I know the route add comand but I have always been given the parameters to put in.
I need a route in each of the 2 following servers to be able to ping and ssh between them. But how do i know which netmask to put in the route add command ?
In... (6 Replies)
i am trying to make HACMP but when i add a persistent ip, error shows unable to determine address for 'UPIDGIS1_pers'
pls help me out
AIX - 5.3
HACMP -5.4
thanks (2 Replies)
I need to add a new route on solaris10 machine.
I want that all traffic on the 23 port (telnet) use 192.168.200.1 gateway.
How I do ?
Thank you in advance. (1 Reply)
Add explicit route to 10.128.255.41/32 , gateway: 10.128.201.254
if not working, please try gateway through management port: 10.128.55.254
Just want to double confirm if this would be the correct command
#route add -net 10.128.255.41/32 10.128.201.254
And if didnt work
#route add... (1 Reply)
Discussion started by: Thilagarajan
1 Replies
LEARN ABOUT DEBIAN
mojolicious::routes
Mojolicious::Routes(3pm) User Contributed Perl Documentation Mojolicious::Routes(3pm)NAME
Mojolicious::Routes - Always find your destination with routes
SYNOPSIS
use Mojolicious::Routes;
# New routes tree
my $r = Mojolicious::Routes->new;
# Normal route matching "/articles" with parameters "controller" and
# "action"
$r->route('/articles')->to(controller => 'article', action => 'list');
# Route with a placeholder matching everything but "/" and "."
$r->route('/:controller')->to(action => 'list');
# Route with a placeholder and regex constraint
$r->route('/articles/:id', id => qr/d+/)
->to(controller => 'article', action => 'view');
# Route with an optional parameter "year"
$r->route('/archive/:year')
->to(controller => 'archive', action => 'list', year => undef);
# Nested route for two actions sharing the same "controller" parameter
my $books = $r->route('/books/:id')->to(controller => 'book');
$books->route('/edit')->to(action => 'edit');
$books->route('/delete')->to(action => 'delete');
# Bridges can be used to chain multiple routes
$r->bridge->to(controller => 'foo', action =>'auth')
->route('/blog')->to(action => 'list');
# Simplified Mojolicious::Lite style route generation is also possible
$r->get('/')->to(controller => 'blog', action => 'welcome');
my $blog = $r->under('/blog');
$blog->post('/list')->to('blog#list');
$blog->get(sub { shift->render(text => 'Go away!') });
DESCRIPTION
Mojolicious::Routes is the core of the Mojolicious web framework.
See Mojolicious::Guides::Routing for more.
ATTRIBUTES
Mojolicious::Routes inherits all attributes from Mojolicious::Routes::Route and implements the following new ones.
"base_classes"
my $classes = $r->base_classes;
$r = $r->base_classes(['MyApp::Controller']);
Base classes used to identify controllers, defaults to Mojolicious::Controller and Mojo.
"cache"
my $cache = $r->cache;
$r = $r->cache(Mojo::Cache->new);
Routing cache, defaults to a Mojo::Cache object.
# Disable caching
$r->cache(0);
"conditions"
my $conditions = $r->conditions;
$r = $r->conditions({foo => sub {...}});
Contains all available conditions.
"hidden"
my $hidden = $r->hidden;
$r = $r->hidden([qw(attr has new)]);
Controller methods and attributes that are hidden from routes, defaults to "attr", "has" and "new".
"namespace"
my $namespace = $r->namespace;
$r = $r->namespace('Foo::Bar::Controller');
Namespace used by "dispatch" to search for controllers.
"shortcuts"
my $shortcuts = $r->shortcuts;
$r = $r->shortcuts({foo => sub {...}});
Contains all available shortcuts.
METHODS
Mojolicious::Routes inherits all methods from Mojolicious::Routes::Route and implements the following ones.
"add_condition"
$r = $r->add_condition(foo => sub {...});
Add a new condition.
"add_shortcut"
$r = $r->add_shortcut(foo => sub {...});
Add a new shortcut.
"auto_render"
$r->auto_render(Mojolicious::Controller->new);
Automatic rendering.
"dispatch"
my $success = $r->dispatch(Mojolicious::Controller->new);
Match routes with Mojolicious::Routes::Match and dispatch.
"hide"
$r = $r->hide(qw(foo bar));
Hide controller methods and attributes from routes.
"route"
my $route = $r->route;
my $route = $r->route('/:action');
my $route = $r->route('/:action', action => qr/w+/);
my $route = $r->route(format => 0);
Generate route matching all HTTP request methods.
SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>.
perl v5.14.2 2012-09-05 Mojolicious::Routes(3pm)