Linux networking configuration


 
Thread Tools Search this Thread
Operating Systems Linux Linux networking configuration
# 1  
Old 11-09-2010
Linux networking configuration

I have a question concerning default gateways in RHEL. In Linux, the default gateway does not have to be associated with a specific interface - when you look at your routing table with route -n, your default gateway can be associated with the default route on the last line, and doesn't have to be specifically tied to eth0 - eth0 can just have a default route that points to a default gateway. (In Windows a specific default gateway is normally configured with every NIC, rather than having a NIC be associated with a default route, which is in turn assoicated with default gateway).

So if I open up in my network configuration GUI in linux for a specific NIC and see that there is nothing in the default gateway field, it doesn't necessarily mean I have no network connectivity (as it would in Windows). I could still have a default gateway configured for my default route, and eth0 just uses the default route even though the GUI shows nothing in the "default gateway" field for eth0's properties.

My question is, my provisioning process leaves the "default gateway" field as seen in the GUI for each NIC blank but gives network connectivity anyway through the default route. Is there any reason for populating the default gateway specifically for eth0 rather than just using the default route? Are there any gotchas to that network configuration that I should know about? What is the standard / best practice concerning this? Thanks

Last edited by rojizo; 11-09-2010 at 06:34 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Proxy Server

Linux Networking - VLANs & Multiple IP's

In a "typical" data centre environment (telco, financial services etc), would a Linux OS typically have one IP address connected to one VLAN or would it have many IPs and/or VLANs. I say "Linux OS" as I'm referring to an instance of the OS not necessarily a Host or server. Think Linux OS = VM in a... (9 Replies)
Discussion started by: PCB
9 Replies

2. IP Networking

simple linux networking question

I have 2 linux hosts running oracle RAC DB with multiple ethernet interfaces . Host 1 netstat -tln |grep 6000 Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 :::6000 :::* ... (1 Reply)
Discussion started by: gubbu
1 Replies

3. Shell Programming and Scripting

links to all networking commands in linux

can some one send me the links to all networking commands in linux (1 Reply)
Discussion started by: alokjyotibal
1 Replies

4. IP Networking

Networking XP with Linux (Vector Linux)

I need help. I have a cable modem. It has an USB out. I didn't want to buy a router. So I hooked my WinXP computer up to the cable modem by USB. I wanted to network my Linux computer to the WinXp computer by the ethernet cards in each. The only problem is, I don't know what I need to know to do... (1 Reply)
Discussion started by: garfunkle
1 Replies

5. IP Networking

Networking Configuration for between UNIX and Windows OS

Good day! Im interested with unix application, however i don't have any idea on how to configure network on unix applicaton(server) to have a connection with windows operating system (worksatation). Please give me some facts how network works between unix and windows. (4 Replies)
Discussion started by: rbbarrera
4 Replies

6. UNIX for Advanced & Expert Users

Linux networking

hi, we've linux suse version 7 and i've installed linux on the PC's, so could anyone tell me that which files should i change under /etc to be able to Telnet & Ftp to other machine? Rgrds, Nikk (3 Replies)
Discussion started by: nikk
3 Replies

7. Programming

networking aspect of linux

Hi, everybody. I wanted to know the networking aspect of Linux i.e how Linux works using networks. If anyone knows it or the site or book where I can find this topic then please inform me. Thanks a lot for your co-operation. (1 Reply)
Discussion started by: kinnaree
1 Replies

8. IP Networking

networking linux to windows server

I have a linux 7 machine and i want to able to connect it to my windows 98 server.What do i do.They can ping each other but how do i make them see each other e.g be able to copy and send files to each other and surf??? how do i set up netscape to connect to my servers web server??? (2 Replies)
Discussion started by: perleo
2 Replies

9. UNIX for Dummies Questions & Answers

Networking Linux 2 windows server

How do i network my linux 7 machine to a windows 98 server.I can ping them but how do i see them in explorer and how can i surf in netscape on my linux machine? (3 Replies)
Discussion started by: perleo
3 Replies

10. UNIX for Dummies Questions & Answers

Networking Problems On Linux

HI I JUST INSTALLED LINUX 7.0 ON MY COMPUTER AND IT WIPED OUT THE WHOLE WIN2K SO MY QUESTION IS THAT I CAN'T .....MY NETSCAPE NAVIGATOR DOESN'T WORK (NO INTERNET AT ALL) WHAT SHOULD I DO!... I HAVE A CABLE MODEM IP I USE TO SEARCH THE INTERNET WITH BOTH BROWSER IE AND NETS..NAV.. NOW I... (1 Reply)
Discussion started by: IMOTEB
1 Replies
Login or Register to Ask a Question