LinuxQuestions.org
Help answer threads with 0 replies.
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 03-23-2016, 03:30 PM   #1
linuxbp
LQ Newbie
 
Registered: Mar 2016
Location: US
Posts: 5

Rep: Reputation: Disabled
TCP/IP configure


I just need simple steps to configure TCP/IP.
I am a learner so...
 
Old 03-23-2016, 03:42 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
Simple it is. Assign an IP address and bring the interface up.
Code:
ifconfig eth0 ${IP_ADDR} broadcast ${BROADCAST} netmask ${NETMASK} up
Set route.
Code:
route add default gw ${GATEWAY}
Done! To access internet you need to configure DNS, too. Put a nameserver into /etc/resolv.conf and you are good to go. Of course, to make this setup stick and survive reboot you need to edit configuration file(s). Which ones I do not know because you chose not to reveal what Linux distro you are using.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Configure & Verify TCP Window Scaling utkarshrawat Linux - Networking 1 12-01-2011 05:09 PM
How to configure sar TCP option tech.newbie Linux - General 0 11-16-2011 11:03 AM
[SOLVED] what two files are used to configure TCP wrappers? dneil Linux - Newbie 2 06-30-2010 08:09 PM
How to configure BIC TCP southwind Linux - Networking 1 09-10-2007 01:49 AM
how to configure network tcp/ip printer from linux workstation scorchy Linux - Newbie 3 06-16-2004 02:24 PM

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

All times are GMT -5. The time now is 02:51 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