How can i persistently change the netmask????

TO 200.77.229.248

ifconfig eth1

eth1 Link encap:Ethernet HWaddr 00:08:54:67:1F:15
inet addr:200.77.229.18 Bcast:200.77.229.19 Mask:255.255.255.252
inet6 addr: fe80::208:54ff:fe67:1f15/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1

RX bytes:19150372 (18.2 Mb) TX bytes:7787389 (7.4 Mb)
Interrupt:16 Base address:0x2000

i use

ifconfig eth1 200.77.229.18 broadcast 200.77.229.23 netmask 255.255.255.248

ifdown eth1

ifup eth1

but with no success!!
Have you a suggestion or I miss something?
opensuse 11.3 x64 with all possible updates
eth0 not yet configured for the intranet

Hi
I thought the netmask was before the broadcast?


ifconfig eth1 200.77.229.18 netmask 255.255.255.248 broadcast 200.77.229.23

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Set it properly in the management tool.

/sbin/yast lan

Good luck.

On 11/16/2010 01:04 PM, cebaehren wrote:
>
> TO 200.77.229.248
> # ifconfig eth1
> eth1 Link encap:Ethernet HWaddr 00:08:54:67:1F:15
> inet addr:200.77.229.18 Bcast:200.77.229.19
> Mask:255.255.255.252
> inet6 addr: fe80::208:54ff:fe67:1f15/64 Scope:Link
> UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
> …
> RX bytes:19150372 (18.2 Mb) TX bytes:7787389 (7.4 Mb)
> Interrupt:16 Base address:0x2000
> --------------
> i use
> # ifconfig eth1 200.77.229.18 broadcast 200.77.229.23 netmask
> 255.255.255.248
> # ifdown eth1
> # ifup eth1
> but with no success!!
> HAVE YOU A SUGGESTION OR I MISS SOMETHING?
> opensuse 11.3 x64 with all possible updates
> eth0 not yet configured for the intranet
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJM4uh5AAoJEF+XTK08PnB59nwQAMmPW16fyU81lf/lAWKBAL7S
NOx9d8OeSAwucrVR8GcwVXZ5CTKwzp6po4em471/jghoocNKcYEG+8wFpq2wz+Dt
77bkZYsRek9XG0fOz41mOEtwi2kP6EMpB9P3zly6EOfNorJuQ3gaZcXc6WtoSsnE
gD7OtKX55XikKhbN9dyq181HC+Mxfn7SDTEK8WT4EehSvqXeh2STtfIP154+Cqfr
0YpgnIVL/+aM1NcW6TNQmwMjP6HVpyOmnp4gFktWcbFb8JA8noTxDTyncnXxeQuu
Rf75Owu7XV+vdisQKQ904LMZDlToCwhAq48PhKFytcUxpyZdXJ27QR87YXg8xS+c
wbgnB25pRT3Bcwe+jCYfYniklHCwrDVKwUHK+c51AwmBH2MWV5gKZ/cK0w3MFPnj
w5tOtGVlPUPHG4MnECjs9ZIWsDsljSdxkvVF/Hxa+3LsXxlhSwcbGfJvibOvyL7U
VI2GpqoZiVe2lha0ZWIhGNgG27GSLjeWKiNBd2Ra/vRRimOh5MOEzFwEUcqqRrOQ
XidI24/5L4ZUcMzle7U+tr1zQv0g0LwoXyU4F8avWgyrPIKNfpygaL/UP3lJLYMw
lDmYprSXR/4fXu1a9ij5VqRVRqkUb1Dr1vALIHukjx+w4AOtQMGZb99Re9fCEuaF
Z0SrloMk0yZVDDB2cDc7
=Bsgh
-----END PGP SIGNATURE-----

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Shouldn’t matter per the manpage, though honestly I’ve never seen anybody
set the broadcast manually (until today).

Good luck.

On 11/16/2010 01:36 PM, malcolmlewis wrote:
>
> Hi
> I thought the netmask was before the broadcast?
>
> Code:
> --------------------
>
> ifconfig eth1 200.77.229.18 netmask 255.255.255.248 broadcast 200.77.229.23
>
> --------------------
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJM4u4NAAoJEF+XTK08PnB5ewsP/ilKQEG76LxsTjrExB2KUYM3
cEboMl8fWL7fUtgYiJfR6E9kz3HBwYVah8jZ71C5kCUyIWh7SQ0Y1szPX7/jFch9
Bq4tHe1Ac2LiPpSISn0DTueZFJOG0tSnPE3MqvHYQ0pTx9Kc8vtn+DS5lFXKQSFB
h6gPhWffvJuSB8hQR47ewieJ5Oxc9tlzviS49lTCCB4YMa63aUdRRdVyo5JzpqZl
OdMDwB4yLuGd9xIqwWSFU9eVWSqvofpPV+JIWTIk13/KuJUQSLPkw/W/UJITnRWR
q05/hbP3c3YdbwXPXrB68AyQR2lFDptEj912WK1xdgKcsziMOQce8eq2W+jL29un
qAQJrKd4HdsMS6KIFLThucYV41kngkSoajZT3LMP1BjAzLwOU7QOavE+vfyA2QxV
ApahnsDdM2z4Bqzz8j/BgJ5HYyR3X9jWq+uEK1Y2rXcEU+x5CM0MssnrEbZJ+vvY
lTnykSSsiNhEGhBv+yfL5fey+9vS9/jrKtR4JFn4s9ME7wWNnuODDPmVnyFRBgS7
dNgRp15LAIfnrXBvyKlYpLsVqgvlxMz89uFE1OVyiG3xuWZo+3pt4hrlzNFT8Iir
PakHqhCNKmWu2WU2ltWkBDYv+UeSm5cBKHc6kXuDyrmnBuiNOz6IgoFDLqj5djY6
jp2ZIkx0KMeBMIwWIsu4
=rMTH
-----END PGP SIGNATURE-----

Yeah
thanks a lot for the replies!
I have set the broadcast address because i have the bad subnet mask at the first configuration of the Suse Box
I read another time a lot more about the netmask used in this subnetwork given as . . .252 from an very unspecialized ISP in santa cruz, bolivia (entel)… that changed a lot in my belonging addresses to use… therefore one free ip for the virtualization guest was wrongly used as broadcast address
And so the ping problem from host to this guest go mad
Technicus stultissimus: Do you want to ping broadcast? Then -b
I all the cases I install per Yast sipcalc
(subnet IP calculator) to verify your subnet netmask
an after knowing what type of subnet i have , my problem is solved
(the old configuration with the bad netmask . . . 252
stay because i didn’t change the /30
The subnet use now the netmask /29
and no problem at all with the ping comand from host to this “damaged” guest
This is a good example of how mad the concatenated problems from network can made a man and the helpers :wink:
SOLVED
THANKS a lot to all my helpers!!

forgotten to ask!!!
wise penguin,
How can i reset the broadcast address to automagically, now that my subnet is in order??
Thanks for the reply

it was not my intention of crossposting , but i thought that a simple question could be better read and answered
but now the experts try to give a definitive solution at this thread as part of what i handled as another problem
routing problem or simple route configuration
Thanks a lot