02-18-2005
Setting Up Routing In Linux Redhat 9 Help
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 the linux box, and I want one computer to gets its net connection through ther linux box. eth0 is connected to the internert, and eth1 is connected to my other computer with a crossover cable. Both card light up, but I get no net connection on my computer that is connected to the linux box. I have tried looking online for instuctions on how to set this up so i get a net connection on the other machine, but have had no help. If anyone knows how to do this or knows where to go to get step by step instructions please let me know.
P.S. I dont know a ton about networking..just enough to set up a swtich and get my machines online..
10 More Discussions You Might Find Interesting
1. 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
2. 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
3. Linux
how i add new routes to my linux machine (1 Reply)
Discussion started by: youmna
1 Replies
4. 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
5. Red Hat
Hi,
I am writing a shell script which would ask user to select a locale and should set the locale for them.
In the script I am doing
export LANG=<user selected locale>
and i do 'locale' it would show me the changed locale.
But, when I come out of the program and do 'locale' it... (3 Replies)
Discussion started by: eamani_sun
3 Replies
6. Red Hat
Hi,
can someone tell me how to set the keyboard configaration at console in redhat Linux ES 4.
I don't want it in x-windows mode.
Also, how can I find all the keyboard configarations available.
Thanks in advance.
Sunny (0 Replies)
Discussion started by: eamani_sun
0 Replies
7. Red Hat
Hi Everyone,
I am trying to set up alias the only way I now how, buy making entry into .bashrc file.
The entry I made is
alias ll='ls -lrt'
It is not working as I expect. When I enter "alias" at the command line I get the following.
$ alias
alias l.='ls -d .* --color=tty'
alias... (2 Replies)
Discussion started by: jxh461
2 Replies
8. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
I have installed Redhat Linux 5 in VMWARE and would need to access through putty form the same desktop or... (2 Replies)
Discussion started by: SasiWipro
2 Replies
9. Red Hat
hello,
I was going through clustering documentation for Redhat, it says "Enable IP Aliasing support in the kernel by setting the CONFIG_IP_ALIAS kernel option to y. When specifying kernel options, under Networking Options, select IP aliasing support", I knew I should update /etc/sysctl.conf with... (1 Reply)
Discussion started by: bobby320
1 Replies
10. Proxy Server
Hi all,
We have been using Satellite to patch our RedHat servers for a while but up until recently these have only been virtual machines. Now we have a requirement to install a few physicals and I am trying to setup a sync a custom channel for the HP reository.
Our setup is that the... (2 Replies)
Discussion started by: wayned
2 Replies
LEARN ABOUT REDHAT
hotplug
HOTPLUG(8) Linux Programmer's Manual HOTPLUG(8)
NAME
hotplug - Linux hotplugging support scripts
SYNOPSIS
hotplug [ help | --help | NAME ]
DESCRIPTION
hotplug is a program which is used by the kernel to notify user mode software when some significant (usually hardware-related) events take
place. An example is when a USB or Cardbus device has just been plugged in. This is useful for automatically loading and setting up driv-
ers, packaged either as kernel modules or as user mode programs.
The hotplug program path name is registered in /proc/sys/kernel/hotplug, and normally holds the value /sbin/hotplug. Except for special-
ized configurations such as initrd(4) configurations, that identifies a shell script which delegates to specific "policy agents", /etc/hot-
plug/NAME.agent. The name of the agent is given by the kernel as the first command-line parameter. The name corresponds to a specific
kernel subsystem whose events it processes (e.g. "usb", "pci", "net" etc.).
Information about an event is usually passed to agents in the form of environment variables. Most agents accept a "ACTION" variable that
describes the type of the event. It can be, for example, "add" or "remove" to signify that some device has just been connected to or dis-
connected from the system respectively. In such requests, agents are also given variables describing at the device (and its location) so
that they can choose the appropriate drivers to set up.
hotplug agents aren't necessarily called only by the kernel though. While the OS is initializing, the "cold-plugging" case, the hotplug
script in /etc/init.d/hotplug is invoked to make sure that all device connected at boot are properly configured, applying the same rules as
if they were connected later.
FILES
/proc/sys/kernel/hotplug specifies hotplug program path
/sbin/hotplug hotplug program (default path name)
/etc/hotplug/* hotplug files
/etc/hotplug/NAME.agent hotplug subsystem-specific agents
/etc/hotplug/NAME* subsystem-specific files, for agents
/etc/hotplug/NAME/* driver setup scripts, invoked by agents
SEE ALSO
initrd(4)
The http://linux-hotplug.sourceforge.net/ web site.
AUTHORS
hotplug is developed by Linux Hotplugging Project http://linux-hotplug.sourceforge.net/
This manual page was originally written by Fumitoshi UKAI <ukai@debian.or.jp>, for the Debian GNU/Linux system (but may be used by others),
based on original Japanese version of manpage.
February 2001 HOTPLUG(8)