Visit Our UNIX and Linux User Community

Full Discussion: routing - mandrake
Top Forums UNIX for Dummies Questions & Answers routing - mandrake Post 20370 by sTorm on Thursday 25th of April 2002 08:30:58 AM
Old 04-25-2002
routing - mandrake

I added a route entry with the route command. When I restart the network, this entry is gone. Therefore I wanted to edit the routing table by hand, but I didn't found a file to edit. Where is it?

I'm using Mandrake 8.1.
Thanks in advance.
 

10 More Discussions You Might Find Interesting

1. IP Networking

Routing Network Traffic With Mandrake

I am running Mandrake 8.0 (KDE ver 2.1.1) on a machine with 2 NICs. This is a college project. I am attempting to configure this machine as a firewall, and to pass packets from one network to another. Eth0 is on my external network. Eth1 is on my internal network. I set the gateway in "netconf"... (1 Reply)
Discussion started by: Deuce
1 Replies

2. UNIX for Dummies Questions & Answers

I need some help in Linux-Mandrake

OK, well i got it now, but im having alil but of trouble.....Im running mandrake and Im loving it, te little tux racer game...heh heh, but to the point here, Im trying to access my CD-ROM drive from the KDE desktop, and an error prompt shows up and says, "you do not have access rights to this..."... (2 Replies)
Discussion started by: LolapaloL
2 Replies

3. UNIX Desktop Questions & Answers

Mandrake 8.1

Hi all, I have copied three .ISO files for Mandrake 8.1 from a Linux DVD onto my work LAN. They are: Mandrake81-cd1-inst.I586.iso Mandrake81-cd2-ext.I586.iso Mandrake81-cd3-supp.I586.isoThey're all +650M in size and I'd like to know what I need to do in order to create the three CD's... (3 Replies)
Discussion started by: Cameron
3 Replies

4. UNIX for Dummies Questions & Answers

mandrake 7.0 and X

I have problems. I have to use Mandrake 7.0 for a college course and I have it installed and I can do all the command line stuff, but I want to get to the GUI. Problem is, I can't start X. SO, after doing some searching on google, I downloaded XFree86 4.0.1 and the latest driver for my video... (2 Replies)
Discussion started by: ober5861
2 Replies

5. UNIX for Dummies Questions & Answers

mandrake and os X

can i run mac os X stuff in mandrake? on a intel computer? (1 Reply)
Discussion started by: amicrawler
1 Replies

6. UNIX for Dummies Questions & Answers

Mandrake

I read the old posts about dual booting windows and linux, and I just wanted to clarify something: If I buy the mandrake version of linux, will that by itself partition the hard drive, or do I still have to get a copy of partition magic? If the mandrake version can do it, is it an easy process? ... (6 Replies)
Discussion started by: luke314pi
6 Replies

7. UNIX for Dummies Questions & Answers

need help mandrake os

my hdd root dir keeps dumping on me but when i install i use native linux format i i lost again yesterday is there a recovery methead? or a safe mode that i can go into ? i made a boot disk is it wise to let the formater program to auto alcate? give me a 5gb root drive and a 37gb home i relly... (1 Reply)
Discussion started by: amicrawler2000
1 Replies

8. UNIX for Dummies Questions & Answers

Redhat 8.0 vs Mandrake 9.0

Hi all, Q1: Of the two distributions, which is better suited to learn with ?? Q2: I have a 20G HD - how should I distribute the partitions?? Or should I just leave as one(1) partition and ?? (1 Reply)
Discussion started by: Cameron
1 Replies

9. UNIX for Dummies Questions & Answers

mandrake 10

i just got mandrake 10 and i installed xine the latest why does it crash my xserver and how do i fix this problem in mandrake 8 - 9.2 i had no problmes with xine until now with 10 (2 Replies)
Discussion started by: amicrawler2004
2 Replies

10. Linux

mandrake

I just installed mandrake 9.2, and all I want right now is for gaim to allow me to use msn.. The version I got now is 0.59.? and I have tried to get the latest version but when I downloaded the rpm it said that there were errors... can someone help... for my rpm packaging I have went to Urpmi and... (3 Replies)
Discussion started by: flimzzy
3 Replies
routing(7P)							     Protocols							       routing(7P)

NAME
routing - system support for packet network routing DESCRIPTION
The network facilities provide general packet routing. The routing interface described here can be used to maintain the system's IPv4 rout- ing table. It has been maintained for compatibility with older applications. The recommended interface for maintaining the system's routing tables is the routing socket, described at route(7P). The routing socket can be used to manipulate both the IPv4 and IPv6 routing tables of the system. Routing table maintenance may be implemented in applications processes. A simple set of data structures compose a "routing table" used in selecting the appropriate network interface when transmitting packets. This table contains a single entry for each route to a specific network or host. The routing table was designed to support routing for the Internet Protocol (IP), but its implementation is protocol independent and thus it may serve other protocols as well. User programs may manipulate this data base with the aid of two ioctl(2) commands, SIOCADDRT and SIOCDELRT. These commands allow the addition and deletion of a single routing table entry, respectively. Routing table manipulations may only be carried out by privileged user. A routing table entry has the following form, as defined in /usr/include/net/route.h: struct rtentry { unit_t rt_hash; /* to speed lookups */ struct sockaddr rt_dst; /* key */ struct sockaddr rt_gateway; /* value */ short rt_flags; /* up/down?, host/net */ short rt_refcnt; /* # held references */ unit_t rt_use; /* raw # packets forwarded */ /* * The kernel does not use this field, and without it the structure is * datamodel independent. */ #if !defined(_KERNEL) struct ifnet *rt_ifp; /* the answer: interface to use */ #endif /* !defined(_KERNEL) */ }; with rt_flags defined from: #define RTF_UP 0x1 /* route usable */ #define RTF_GATEWAY 0x2 /* destination is a gateway */ #define RTF_HOST 0x4 /* host entry (net otherwise) */ There are three types of routing table entries: those for a specific host, those for all hosts on a specific network, and those for any destination not matched by entries of the first two types, called a wildcard route. Each network interface installs a routing table entry when it is initialized. Normally the interface specifies if the route through it is a "direct" connection to the destination host or net- work. If the route is direct, the transport layer of a protocol family usually requests the packet be sent to the same host specified in the packet. Otherwise, the interface may be requested to address the packet to an entity different from the eventual recipient; essen- tially, the packet is forwarded. Routing table entries installed by a user process may not specify the hash, reference count, use, or interface fields; these are filled in by the routing routines. If a route is in use when it is deleted, meaning its rt_refcnt is non-zero, the resources associated with it will not be reclaimed until all references to it are removed. User processes read the routing tables through the /dev/ip device. The rt_use field contains the number of packets sent along the route. This value is used to select among multiple routes to the same desti- nation. When multiple routes to the same destination exist, the least used route is selected. A wildcard routing entry is specified with a zero destination address value. Wildcard routes are used only when the system fails to find a route to the destination host and network. The combination of wildcard routes and routing redirects can provide an economical mechanism for routing traffic. ERRORS
EEXIST A request was made to duplicate an existing entry. ESRCH A request was made to delete a non-existent entry. ENOBUFS Insufficient resources were available to install a new route. ENOMEM Insufficient resources were available to install a new route. ENETUNREACH The gateway is not directly reachable. For example, it does not match the destination/subnet on any of the network inter- faces. FILES
/dev/ip IP device driver SEE ALSO
route(1M), ioctl(2), route(7P) SunOS 5.11 9 Nov 1999 routing(7P)

Featured Tech Videos

All times are GMT -4. The time now is 08:46 AM.
Unix & Linux Forums Content Copyright 1993-2021. All Rights Reserved.
Privacy Policy