LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-20-2005, 02:10 PM   #1
huzzzo
LQ Newbie
 
Registered: Jan 2004
Location: Italy :-)
Distribution: Ubuntu
Posts: 7

Rep: Reputation: 0
internet sharing, linux client, win server...


hi there,
I'm getting into linux world in these days.
I have an home lan, 1 switch, 1 eth modem (not router) which is connected on the switch and some PCs.
The server that has the direct connection has winxp. (this is a temporary solution, I will set up a linux-box-router or I build another server-pc for me w/ linux).

Now I have a notebook w/ win and linux, but i prefer to use linux, but I do not know the shell commands for set up the network adapter.

actually my sever has this conf:
192.168.1.18
255.255.255.224

so how can I set up Ip, Gateway and subnet mask on my linux pc?

another question for my future plannings: with coyotelinux-like distros, I can use aMule (is this the name of eMule porting,isn't it?) with no restrictions and problems?

Thanks!
 
Old 08-20-2005, 05:03 PM   #2
carl.waldbieser
Member
 
Registered: Jun 2005
Location: Pennsylvania
Distribution: Kubuntu
Posts: 197

Rep: Reputation: 32
Re: internet sharing, linux client, win server...

Quote:
Originally posted by huzzzo
hi there,
I'm getting into linux world in these days.
I have an home lan, 1 switch, 1 eth modem (not router) which is connected on the switch and some PCs.
The server that has the direct connection has winxp. (this is a temporary solution, I will set up a linux-box-router or I build another server-pc for me w/ linux).

Now I have a notebook w/ win and linux, but i prefer to use linux, but I do not know the shell commands for set up the network adapter.

actually my sever has this conf:
192.168.1.18
255.255.255.224

so how can I set up Ip, Gateway and subnet mask on my linux pc?

another question for my future plannings: with coyotelinux-like distros, I can use aMule (is this the name of eMule porting,isn't it?) with no restrictions and problems?

Thanks!
The "ifconfig" and "route" commands handle all that.
To assign an IP address (192.168.1.200) to an interface (eth0):
Code:
# ifconfig eth0 192.168.1.200
To set the default route to 192.168.1.18:
Code:
# route add -net 0.0.0.0 netmask 255.255.255.255 192.168.1.18
or
Code:
# route add -net default gw 192.168.1.18
 
Old 08-21-2005, 03:05 PM   #3
huzzzo
LQ Newbie
 
Registered: Jan 2004
Location: Italy :-)
Distribution: Ubuntu
Posts: 7

Original Poster
Rep: Reputation: 0
Thank You very much!
I'll try immediatly
 
Old 08-21-2005, 03:30 PM   #4
carl.waldbieser
Member
 
Registered: Jun 2005
Location: Pennsylvania
Distribution: Kubuntu
Posts: 197

Rep: Reputation: 32
Quote:
Originally posted by huzzzo
Thank You very much!
I'll try immediatly
You are welcome!
Note that these changes won't last through a reboot. For that, you will probably have to edit /etc/network/interfaces. Type the following for details:
Code:
$ man 5 interfaces
 
  


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
Lan authontication-(win client, linux server) sixth_sense Linux - Networking 6 03-26-2004 08:42 AM
Win XP client on LAN can't find Linux server mournblade Linux - Networking 10 06-26-2003 04:54 PM
Linux SAMBA Server - Win 2000 Client anja Linux - Networking 6 04-07-2003 08:30 PM
CVS client Linux and server on Win 2000 ina Linux - Software 2 02-07-2003 11:27 AM
Sharing an internet connection with a Linux client through a 2000 server gateway thuan Linux - Networking 1 08-02-2001 02:55 PM


All times are GMT -5. The time now is 06:27 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration