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! |
Re: internet sharing, linux client, win server...
Quote:
To assign an IP address (192.168.1.200) to an interface (eth0): Code:
# ifconfig eth0 192.168.1.200 Code:
# route add -net 0.0.0.0 netmask 255.255.255.255 192.168.1.18 Code:
# route add -net default gw 192.168.1.18 |
Thank You very much!
I'll try immediatly ;) |
Quote:
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 |
All times are GMT -5. The time now is 07:55 PM. |