This command works but , when I am restarting network service usnig below command
service network restart again , I dont see anthing in ifconfig for eth0. Not sure why it is happening or is it required to restart nework service before using the ip. Thanks & Regards Saurabh On Thu, Aug 25, 2011 at 8:40 PM, Edmund R. MacKenty < ed.macke...@rocketsoftware.com> wrote: > On Thursday, August 25, 2011 10:48:51 am you wrote: > > in the suggested ifconfig command, what is the third ip address is for ? > > > > ifconfig eth0 10.10.21.20 netmask 255.255.255.0 *addr 10.10.21.255* up > ... > >getting below error > > > >ifconfig eth0 10.241.1.193 netmask 255.255.248.0 addr 10.241.1.255 up > >ifconfig eth0 10.241.1.193 netmask 255.255.248.0 addr 10.24 <eth0 > >10.241.1.193 n > >etmask 255.255.248.0 addr 10.241 > > .1.255 up > >addr: Unknown host > >ifconfig: `--help' gives usage information. > >sles10:/var/log # > > I think Scott meant for that to be the broadcast address. That sure looks > like a broadcast address to me. But there's no "addr" keyword for the > ifconfig command, so I think you should use the "broadcast" keyword > instead. > Try this: > > ifconfig eth0 10.241.1.193 netmask 255.255.255.0 broadcast 10.241.1.255 up > > Be sure to use that 255.255.255.0 netmask. > - MacK. > ----- > Edmund R. MacKenty > Software Architect > Rocket Software > 275 Grove Street - Newton, MA 02466-2272 - USA > Tel: +1.617.614.4321 > Email: m...@rs.com > Web: www.rocketsoftware.com > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or > visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > ---------------------------------------------------------------------- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ > -- Thanks & Regards Saurabh Khandelwal ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/