(E-Mail Removed) (kernel.lover) writes:
>Hello,
> Why it happens that whenever i try to up interface which is
>previously down by me gives error. what should be wrong in my
>configuration which is static IPs to eth0 and eth1
Maybe you should let us see what is in the config file for eth1 (eg
/etc/sysconfig/networ-scripts/ifcfg-eth1 on Redhat/Mandrake) so we could
see what you have in there.
Ie, how can we know what is wrong with your configuration if you do not
show the configuration file to us?
>[root@localhost root]#ifup eth1
>ipcalc: bad ip address: 10.0.0.
>Error: an inet prefix is expected rather than "10.0.0./".
>my configuration is
>eth0 Link encap:Ethernet HWaddr 00:08:A1:43:61:F5
> inet addr:10.0.1.100 Bcast:10.255.255.255 Mask:255.0.0.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:0 (0.0 b) TX bytes:240 (240.0 b)
> Interrupt:9 Base address:0xbc00
>eth1 Link encap:Ethernet HWaddr 00:80:48:C3:11:94
> inet addr:10.0.1.200 Bcast:10.255.255.255 Mask:255.0.0.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:8 errors:0 dropped:0 overruns:0 frame:0
> TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:915 (915.0 b) TX bytes:420 (420.0 b)
> Interrupt:11 Base address:0xdc00