- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: How set network parameters on linux machine fo...
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
01-03-2006 10:06 PM
01-03-2006 10:06 PM
at home I have two computers
one-dual boot FreeBSD 6.0 and Debian Sarge
second- Debian Sarge and winXP.
I used crossover cable to connect them and they work ok.
I assigned them IP adresses 10.1.1.1 and 10.1.1.2 private network, but when I reboot debian machines every time I must type
netconfig 10.1.1.1 netmask 255.0.0.0 and on second machine same to establish network, when I reboot and chose BSD network parameters are as they were before, and I should not type network parameters again. So my question is what is worong with my Debian machines and why my nerwork parameters changing every time.
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2006 10:34 PM
01-03-2006 10:34 PM
Solutiontry with these two command :
"ifconfig" and "route add"
Maybe something like this should work
(taken from deb manual):
# ifconfig eth0 inet down
# ifconfig eth0 inet up 192.168.0.111 \
netmask 255.255.255.0 broadcast 192.168.0.255
# route add -net 10.0.0.0 netmask 255.0.0.0 gw 192.168.0.1 dev eth0
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2006 10:42 PM
01-03-2006 10:42 PM
Re: How set network parameters on linux machine for all time ?
Do you have the line beginning with the word "auto"?
--------------------------------------
# The primary network interface
auto eth0
iface eth0 inet static
address 10.1.1.1
netmask 255.0.0.0
network 10.0.0.0
broadcast 10.255.255.255
--------------------------------------
Regards,
Sergejs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2006 11:31 PM
01-03-2006 11:31 PM
Re: How set network parameters on linux machine for all time ?
not sure about path in debian
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
IPAddress= 10.1.1.1
Subnet=255.255.255.0
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2006 04:02 AM
01-04-2006 04:02 AM
Re: How set network parameters on linux machine for all time ?
You will need at least the following for the
eth0 interface
auto eth0
iface eth0 inet static
address 10.1.1.1
netmask 255.0.0.0
You may also want to set the gateway, but it
should not be required to connect the two
computers. See 'man interfaces' for more
data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2006 04:20 AM
01-04-2006 04:20 AM
Re: How set network parameters on linux machine for all time ?
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2006 04:22 AM
01-04-2006 04:22 AM
Re: How set network parameters on linux machine for all time ?
thank you.