I have created my own distribution with susestudio.com , based on jeOS template and it works well
But I have some problems with network configuration. I make a default configuration with susestudio ( configuration -> General -> network ) and I put for example 172.16.0.185 address.
I also put a script which configures IP address with different informations coming from for example a serial port to make my own IP address. This script make the new address and call the ifconfig system program. For example, the script calls “ifconfig eth0 172.16.0.182”.
And now, I can ping the two addresses, 172.16.0.185 and 172.16.0.182. Is this normal ?
I thought the new command “ifconfig eth0 172.16.0.182” would overwrite the old value ( 172.16.0.185 ). It works as this on other distribs ( like ubuntu ) but not on opensuse.
I know that I can have 2 addresses but using the following syntax : “ifconfig eth0:1 A.B.C.D” (if kernel supports aliases ) , and I don’t know if it is normally possible to have 2 address from the same subnet.
How can I overwrite the default config , and not to have the first address available ?
-----BEGIN PGP SIGNED MESSAGE-----
This is normal. Having multiple IPs on a given device isn’t all that
rare, except perhaps with home users. You can use the ifconfig (or,
better yet, ‘ip’) command to remove IP addresses as well. ifconfig is
old and outdated; use ip for eeverything instead of ifconfig/route.
Want to yell at me in person?
Come to BrainShare 2011 in October: http://tinyurl.com/brainshare2011
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----