- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- lan config queries
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2003 02:39 AM
09-28-2003 02:39 AM
i've installed my first linux.
To connect to lan I did the following
# netconfig
-after entering relevant information
# service network restart
Now when I do netstat -rn I get the following
(showing only fields of interest)
Destination Gateway Genmask Flags interface
0.0.0.0 10.10.30.254 0.0.0.0 UG 0eth0
This is supposed to be my default gateway. Why doesn't it say default under Destination, and how can I configure its netmask?
I ping the above IP and I recieve 0% transmission. Therefore I cannot connect to my proxy server.
Is there a simple PRACTICAL Redhat networking; internet and lan connectivity guide?
Thanks a lot
Regards,
-Alvi
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2003 06:07 AM
09-28-2003 06:07 AM
Re: lan config queries
Run redhat-config-network
On a shell, you can also read man ifconfig.
On internet, read at http://www.europe.redhat.com/documentation/rhl9/rhl-cg-en-9/ch-network-config.php3
hth
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2003 11:14 AM
09-28-2003 11:14 AM
Re: lan config queries
#setup
will present a menu with option including network setup.
As for the documentation follow Jerome leed, and keep use informed of your progress.
J-P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2003 11:33 AM
09-28-2003 11:33 AM
Re: lan config queries
You do have redhat_config_network in 7.3 of Redhat, I have just ckeck.
Mea Culpa (My fault) Jerome you are right as usual , but Alvi if you are running 7.3 then the documentation link is http://www.europe.redhat.com/documentation/rhl7.3/rhl-cg-en-7.3/ch-network-config.php3
J-P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2003 11:34 AM
09-28-2003 11:34 AM
Re: lan config queries
For the record, 0.0.0.0/0.0.0.0 = deafult gateway. The '-n' forces netstat not to resolve any names, including 'default.
'netconfig' (as Huc said) is on most RedHat systems, the newer one being as Jerome said, 'redhat-config-network' (from RH8 onwards).
Both are practically identical in any case. They both modify '/etc/sysconfig/network-scripts/ifcfg-*' files, which can easily be modified by hand. The details of what the flags are in this file are in '/usr/share/doc/initscripts-*/sysconfig.txt'.
Might be a good idea to confirm all of the IP addressing details. You might also want to ensure that '10.10.30.254' responds to ICMP traffic.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2003 02:35 PM
09-28-2003 02:35 PM
Re: lan config queries
http://www.tldp.org/HOWTO/Net-HOWTO/index.html
http://www.tldp.org
If my friends who posted on time got were helpful, please point them.
Happy New Year 5764 to my fellow Yidden.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2003 06:53 PM
09-28-2003 06:53 PM
Re: lan config queries
.. the documentation is also very helpful.
I searched for redhat-network-config using find, and its simply not there, don't know why. I have redhat-config-dat,services,users,time,printer, but no network.
Installed redhat 7.3 and in Linux release it says 2.4.18-3
Thanks
-Alvi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2003 07:02 PM
09-28-2003 07:02 PM
Solutionpl go thro this link and see if it is able to answer ur queries.
http://www.ncsu.edu/resnet/pages/setup/redhat.php
HTH
aparna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2003 07:11 PM
09-28-2003 07:11 PM
Re: lan config queries
What type ofnetwork card do you have in the machine?
What does 'lsmod' and 'cat /proc/pci' show you?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2003 07:14 PM
09-28-2003 07:14 PM
Re: lan config queries
redhat-config-network comes from rh8. In rh7.3 use (from a shell windows under X, being root) 'neat' (for network administration tool)...
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2003 09:57 PM
09-28-2003 09:57 PM
Re: lan config queries
that you have the /usr/bin/redhat-config-network that what I trusted by saying I checked !, but if it is not there then use
/usr/sbin/netconfig
have a look at the last messages from dmesg
#dmesg
some where at the end there should be a few lines telling you about your ethernet card,irq etc.
also post here the result of
#ifconfig -a
so whe are able to futher help if needed.
whatever enjoy you new system
J-P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 02:37 AM
09-29-2003 02:37 AM
Re: lan config queries
I have attached the outputs of ifconfig -a and netstat -r.
I am still not able to connect to the internet.
10.10.30.56 is my gateway with a netmask (lan) 255.255.255.0
Proxy server is 172.22.1.2 with netmask (internet) 255.255.255.0
We have IIS which doesn't allow netscape browsers access to the internet. So i'm testing internet connectivity as follows
telnet www.google.com 80
followed by two
Any ideas.
Really appreciate all the help you've given so far.
A few other things
- how can I change swithc between Gnome and KDE?
- how can I see whether an installed machine is a server or a workstation?
thanks and regards,
-Alvi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 03:10 AM
09-29-2003 03:10 AM
Re: lan config queries
I will read our set up file in a whileto see if i can help, busy now !
Please Alvi dont forget to assign point to all the reply's this help us know if or reply's are of some use to you.
J-P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 04:41 AM
09-29-2003 04:41 AM
Re: lan config queries
from xterm in X session type
switchdesk
you will be presented with a gui interface that let you chose the desktop you want (Gnome, KDE)
I have had a look at your file nothing wrong with the ifconfig output (eth0 did transmit and received a few bytes)
if you do the following command as root what do you get in return ?
#traceroute 10.10.30.254
J-P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 07:25 PM
09-29-2003 07:25 PM
Re: lan config queries
Following is the output of traceroute to the gateway and also to the proxy server
[root@localhost root]# traceroute 10.10.30.254
traceroute to 10.10.30.254 (10.10.30.254), 30 hops max, 38 byte packets
1 10.10.30.254 (10.10.30.254) 2.326 ms * 5.007 ms
[root@localhost root]# traceroute 172.22.1.2
traceroute to 172.22.1.2 (172.22.1.2), 30 hops max, 38 byte packets
1 10.10.30.254 (10.10.30.254) 0.966 ms 2.139 ms 4.020 ms
2 * * *
3 * * *
4 * * *
5 * * *
6 * *
By the way incoming ICMP requests are blocked by the proxy server (172.22.1.2)
Machines on the internet are not pingable by hostname.
However using the following
telnet www.google.com 80
I can read the default page in html (thereby confirming access to external addresses) and to the proxy server.
As for switchdesk, it says that I have to restart my X sefrver. It seems that probably the best idea would be to put
id:3:initdefault in /etc/inittab
and then run switchdesk from here whenever starting up, but to actually change from one GUI to the other reboot is the only option right?
Thanks
-Alvi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2003 03:55 AM
09-30-2003 03:55 AM
Re: lan config queries
> startx
when in X you can switch desk using
switchdesk
On my system this can be made permanent or tick "Change only applies to current settings"
this is if you just want to use once without saving it. (ex: just to test KDE but keep Gnome as default)
J-P
J-P