10-29-2005
route add -net 192.56.76.0 netmask 255.255.255.0 dev eth0
adds a route to the network 192.56.76.x via "eth0". The Class C netmask modifier is not really necessary here because 192.* is a Class C IP address. The word "dev" can be omit-ted here.
do a man on route for more info...(man is your friend)
10 More Discussions You Might Find Interesting
1. IP Networking
I have SCO Unix. I have 2 routers. as it is now, when someone telnets to UNIX and goes through router #1 everything is fine. The users who go through router #2 can not connect at all. I talked to CISCO and they said I need to set up a second Gateway on UNIX. They said what is happening is that... (1 Reply)
Discussion started by: john fli
1 Replies
2. IP Networking
ok i configured my gateway and IP address(es) using ifconfig and route.. but how can i bind unique IPs to users ? (im using FreeBSD 4.2 RELEASE #3) (9 Replies)
Discussion started by: DevilGREEN
9 Replies
3. Linux
How to use NAT Router in linux Redhat 6 ? and what
packages and configuration are required ? (1 Reply)
Discussion started by: salhoub
1 Replies
4. Red Hat
:mad: I have just recently got into using Linux RedHat 9. So far I love it, I have set it up on a server I am running. Right now I have set up Samba and am running a file server for my house. I have four computers, the linux box is connected to the internet through a switch I have. There are two... (5 Replies)
Discussion started by: xTHESEUSx
5 Replies
5. Red Hat
I have just recently got into using Linux RedHat 9. So far I love it, I have set it up on a server I am running. Right now I have set up Samba and am running a file server for my house. I have four computers, the linux box is connected to the internet through a switch I have. There are two NICS in... (1 Reply)
Discussion started by: xTHESEUSx
1 Replies
6. Linux
Hello Friends
I have two network cards
eth0 192.168.100.1
eth1 10.0.0.1
There NIC connect with diff. LAN
I want to make my Linux machine as a Router, Please tell me
using
IPTABLES command
ROUTE command
:) (2 Replies)
Discussion started by: jaibw
2 Replies
7. Linux
Hello All,
I know it's a tricky probably stupid question but I'm stuck.... :(
Is there any way to route different protocols through different eth cards for the same destination in Linux? With route add or something like it?
For instance:
FTP to/from 192.168.1.1 goes through eth0 - gw2... (1 Reply)
Discussion started by: pmpx
1 Replies
8. UNIX for Dummies Questions & Answers
(3 Replies)
Discussion started by: samnyc
3 Replies
9. IP Networking
I am having problems configuring bridged networking on Proxmox3.2/Debian7.0
I have 2 bridges - vmbr0 and vmbr1. I want to attach a gateway/firewall running in a virtual machine between the 2 and use it to connect out to the WAN through vmbr0.
I have removed the IP, mask and gateway from... (0 Replies)
Discussion started by: OSSVirt
0 Replies
10. IP Networking
Hello. I want to Communicate 2 VLAN with router like this solution:
http://8pic.ir/images/83m0ouih8mmm9s1sfl56.jpg
For this purpose I'm configuring 2 Linux system as a switch and connect 4 host to them. Then a router is added to scenario.
The configuration of the switches is:
On DUT1(Linux):... (1 Reply)
Discussion started by: zsn
1 Replies
LEARN ABOUT LINUX
uuid_compare
UUID_COMPARE(3) Libuuid API UUID_COMPARE(3)
NAME
uuid_compare - compare whether two UUIDs are the same
SYNOPSIS
#include <uuid/uuid.h>
int uuid_compare(uuid_t uu1, uuid_t uu2)
DESCRIPTION
The uuid_compare function compares the two supplied uuid variables uu1 and uu2 to each other.
RETURN VALUE
Returns an integer less than, equal to, or greater than zero if uu1 is found, respectively, to be lexigraphically less than, equal, or
greater than uu2.
AUTHOR
Theodore Y. Ts'o
AVAILABILITY
libuuid is part of the util-linux package since version 2.15.1 and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
SEE ALSO
uuid(3), uuid_clear(3), uuid_copy(3), uuid_generate(3), uuid_is_null(3), uuid_parse(3), uuid_unparse(3)
util-linux May 2009 UUID_COMPARE(3)