LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-21-2009, 09:58 AM   #1
caa1980
Member
 
Registered: Aug 2004
Location: Salt Lake City, UT
Distribution: Ubuntu 10.04
Posts: 128

Rep: Reputation: 15
Basic Dos Networking commands in Fedora?


How do I do basic networking commands in Fedora?

I am used to managing networking in Windows and the command prompt. How do I get ipconfig information from Fedora command line? How do I renew and release IP addresses in Fedora? How do I know what the default gateway is and if it's using DHCP ?
 
Old 04-21-2009, 10:19 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Many of the commands are the same name at command line though the flags and arguments may be different. Command line can be accesses via "terminal" if you're in the GUI session (Gnome). If in text mode you're already at a command line.

On UNIX/Linux the command is ifconfig rather than ipconfig.

On UNIX/Linux the command is netstat as it is in Windows Cmd prompt.

For more complex networking you may have to edit configuration files manually or use a distro specific tool (e.g. system-config-network on RedHat/Fedora/CentOS). I'd suggest doing a search for the task you're attempting with the distro in the search parameters.

This site may help you with some of the more basic commands:
http://www.yolinux.com/TUTORIALS/uni...dos_users.html
 
Old 04-21-2009, 10:25 AM   #3
caa1980
Member
 
Registered: Aug 2004
Location: Salt Lake City, UT
Distribution: Ubuntu 10.04
Posts: 128

Original Poster
Rep: Reputation: 15
Fedora networking commands.

The distro was told in my question. I am refering to Fedora command line only.
 
Old 04-21-2009, 11:29 AM   #4
kentyler
Member
 
Registered: Dec 2008
Location: Newark Ohio
Distribution: Fedora Core
Posts: 270

Rep: Reputation: 38
You can restart the network to release/renew the ip. In fedora you should not need to but if you like run:

service network restart

route -n shows gateway
ifconfig shows and changes the interfaces network settings

try man ifconfig or man route for help on arguments.
 
Old 04-21-2009, 01:14 PM   #5
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
Code:
$ cat /etc/resolv.conf   #shows the name servers
$ ip route
$ ip neigh
$ ping google.com
$ mtr google.com
$ traceroute google.com         # Use in place of "tracert"
$ ethtool eth0

Last edited by john test; 04-21-2009 at 02:05 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is the similarity between linux commands and dos commands kamalkirat1 Linux - Software 6 11-21-2008 08:54 PM
DOS commands runnerpaul Programming 3 11-24-2007 11:28 PM
Basic Networking Commands maac_caam Linux - Networking 4 07-13-2006 01:05 PM
Fedora 3 networking commands?? bond00 Linux - Networking 3 11-29-2004 07:37 AM
Where can I use some basic networking commands in linux? OrganicX Linux - Networking 9 12-17-2002 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration