Sponsored Content
Full Discussion: Setting Routes and such
Operating Systems Linux Debian Setting Routes and such Post 52352 by djsal on Wednesday 16th of June 2004 11:05:37 AM
Old 06-16-2004
Setting Routes and such

Ok, I made changes to my routing tables..... which file do I modify to make the routes initialize correctly when the machine boots up? I work with all flavours of Unix/Linux... but this is an older box...

Linux, Release 2.2.14-5.0.

I did a grep for the default route in /etc, but didnt find anything...

Any help would be appreciated.
 

10 More Discussions You Might Find Interesting

1. IP Networking

Multiple Interfaces and Routes

I have a Unix box with 2 network interfaces on the same IP subnet and would like to add a host route via a specific interface. Any assistance would be greatly appreciated. (3 Replies)
Discussion started by: diemos
3 Replies

2. UNIX for Dummies Questions & Answers

How to add 2 gateway routes?

I need some help adding routes in sco. I am using SCO Openserver 5.0.4. Basically I have 2 gateways here. The first is 10.15.1.1 and allows me access to the rest of the computers in the office and in other offices. The other gateway is 10.15.10.2 and is the sonicwall that will allow access... (3 Replies)
Discussion started by: cstovall
3 Replies

3. AIX

Multiple Default routes

Hi All, I have a AIX server running v5.2 and its having multiple default routes configured to two seperate gateway. Here's the output of -- netstat -rn Routing tables Destination Gateway Flags Refs Use If PMTU Exp Groups Route Tree for Protocol Family 2... (2 Replies)
Discussion started by: rramanuj
2 Replies

4. Solaris

Where are routes stored ?

Hi there When adding a route (or indeed deleting a route) which file is amended ? I am moving a box from one network to another and when it starts up it tries to connect run 'add net 192.x.x.x' etc etc ...but i dont want it to do that where do I edit these route additions cheers (5 Replies)
Discussion started by: hcclnoodles
5 Replies

5. Solaris

adding routes in Solaris

Solaris Guru's What is the proper way to add routes in the routing table so after a node reboot the routes will not be lost. I understand the /etc/defaultrouter for the default router and the <route add> command but using this command routes will be removed once the node reboots. Thanks (7 Replies)
Discussion started by: Brad_52000
7 Replies

6. IP Networking

How to delete some ipv6 routes?

Hi, How can i delete the following routes on my OpenBSD 4.1 system? # route -n show (including only relevant ipv6-routes) Internet6: Destination Gateway Flags Refs Use Mtu Interface ::/104 ::1 UGRS 1 0 ... (1 Reply)
Discussion started by: phalcos
1 Replies

7. AIX

Static Routes question

I added a static route through smit using: Communications applications and Services ==> TCIP/IP ==> Further Configuration ==> Static Routes ==> Add a Static Route ==> Route Type of host Filled in Destination Address, Default Gateway Address and Network Interface of en0. This... (2 Replies)
Discussion started by: jyoung
2 Replies

8. UNIX for Dummies Questions & Answers

Routes being automatically added

Hello, I have two AIX 5.3 servers that are supposedly set up exactly the same. The problem I am having is on one of the servers, it seems dynamic routes are being added mysteriously and non-periodically. This only happens on one server and not the other. Also, there doesn't seem to be a specific... (1 Reply)
Discussion started by: Conutmonky
1 Replies

9. IP Networking

Unix Network Routes

I would really appreciate some help with HP UX's Network Routes. Basically, what I want to do is, I would want a system with global ip (eg: 202.144.138.122) to ping/access my HP-UX server which is with private IP address (192.168.1.23). I have all the routers/switches in between properly route... (2 Replies)
Discussion started by: damchey
2 Replies

10. Solaris

Problem with routes in Solaris 10

Hello All, I have a Solaris 10 machine with 4 physical network interfaces configured viz. igb0, e1000g0, igb2 and e1000g2. Out of these interfaces, I am routing all my normal monitoring and O&M activities via. igb0 and e1000g0 interfaces. However, I am facing an issue on one of the... (4 Replies)
Discussion started by: mystition
4 Replies
Mojolicious::Routes::Match(3pm) 			User Contributed Perl Documentation			   Mojolicious::Routes::Match(3pm)

NAME
Mojolicious::Routes::Match - Routes visitor SYNOPSIS
use Mojolicious::Routes; use Mojolicious::Routes::Match; # Routes my $r = Mojolicious::Routes->new; $r->get('/foo')->to(action => 'foo'); $r->put('/bar')->to(action => 'bar'); # Match my $m = Mojolicious::Routes::Match->new(PUT => '/bar'); $m->match($r); say $m->captures->{action}; DESCRIPTION
Mojolicious::Routes::Match is a visitor for Mojolicious::Routes structures. ATTRIBUTES
Mojolicious::Routes::Match implements the following attributes. "captures" my $captures = $m->captures; $m = $m->captures({foo => 'bar'}); Captured parameters. "endpoint" my $endpoint = $m->endpoint; $m = $m->endpoint(Mojolicious::Routes->new); The routes endpoint that actually matched. "root" my $root = $m->root; $m = $m->root($routes); The root of the routes tree. "stack" my $stack = $m->stack; $m = $m->stack([{foo => 'bar'}]); Captured parameters with nesting history. METHODS
Mojolicious::Routes::Match inherits all methods from Mojo::Base and implements the following ones. "new" my $m = Mojolicious::Routes::Match->new(GET => '/foo'); my $m = Mojolicious::Routes::Match->new(GET => '/foo', $ws); Construct a new match object. "match" $m->match(Mojolicious::Routes->new, Mojolicious::Controller->new); Match against a routes tree. "path_for" my $path = $m->path_for; my $path = $m->path_for(foo => 'bar'); my $path = $m->path_for({foo => 'bar'}); my $path = $m->path_for('named'); my $path = $m->path_for('named', foo => 'bar'); my $path = $m->path_for('named', {foo => 'bar'}); my ($path, $ws) = $m->path_for; my ($path, $ws) = $m->path_for(foo => 'bar'); my ($path, $ws) = $m->path_for({foo => 'bar'}); my ($path, $ws) = $m->path_for('named'); my ($path, $ws) = $m->path_for('named', foo => 'bar'); my ($path, $ws) = $m->path_for('named', {foo => 'bar'}); Render matching route with parameters into path. SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>. perl v5.14.2 2012-09-05 Mojolicious::Routes::Match(3pm)
All times are GMT -4. The time now is 07:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy