Re: Double IP Address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Please verify netmask you set for those 2 IPs. One should be 255.255.255.240
and another is 255.255.255.252, mentioned by irawan. Have fun. Jeff.

--- "S. Khademi" <khademi@cc.iut.ac.ir> wrote:
> 
> 
> I use two ethernet card and I have set these, when I use route command 
> I see these information :
> 
> 
> Deastination  Gateway	   Qenmask	  Flags Metric Ref use   infac
> 213.29.206.0  *            255.255.255.0  U     0      0   0     eth0
> 213.19.150.0  *            255.255.255.0  U     0      0   0     eth1
> 127.0.0.0     *            255.0.0.0      U     0      0   0     lo
> default       213.29.206.1 0.0.0.0        UG    0      0   0     eth0
> default       213.19.150.1 0.0.0.0        UG    0      0   0     eth1
> 
> and I have set these IPs to my eth0 and eth1 and when I type ifconfig 
> command I see that IP address for eth0 is 213.29.206.2   with subnetmask 
> 255.255.255.0  and Ip address for eth1 is 213.19.150.248 with subnetmask
> 255.255.255.0
> but when I ping from forexample www.all-nettools.com these IPs one 
> address answer and another doesn't answer and tell this message
>  Host unreachabl
> Now how I can set ??????
> 
> Thanks
> 
> > 
> > 
> > 
> > Hi James ...
> > 
> > make 2 cardlan ... eth0 and eth1
> > u can set in "linuxconf" --> networking in Redhat
> > or manual :
> > 
> > ifconfig eth0 213.29.206.2 netmask 255.255.255.240
> > ifconfig eth1 213.19.150.248 netmask 255.255.255.252
> > 
> > then ...
> > 
> > route add 213.29.206.2 gw 213.29.206.1 eth0
> > route add 213.19.150.248 gw 213.19.150.1 eth1
> > 
> > rgds,
> > 
> > 
> > /irawan
> > 
> > 
> > > Hi
> > > I have a machine on linux redhat7.2 OS, and I want to set 2 IP address
> > > from different class's IP  on this machin, because I have 2 backbone and
> > > sometimes maybe one of those disconnect and I want this machine use from
> > > another IP address and line, now how I can set these.
> > >
> > > class1
> > > IP address: 213.29.206.2
> > > Gateway:    213.29.206.1
> > >
> > > class2
> > > IP address: 213.19.150.248
> > > Gateway:    213.19.150.1
> > >
> > > Thanks
> > >
> > > --
> > > _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> > >  Soheila Khademi
> > >                                            e-mail: khademy@yahoo.com
> > >                                                  
> soheila@maniac.sdc.uwo.ca
> > >  Network Admin                                    khademi@cc.iut.ac.ir
> > >  Network Services
> > >  Center For Information Services  (CIS)    http://www.iut.ac.ir
> > >  Isfahan University of Technology (IUT)    Tel: 98 31 3915840-1
> > >  Isfahan, IRAN                             Fax: 98 31 3915805
> > > _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> > >
> > >
> > >
> > >
> > >
> > > ------------------------------------------------------------------------
> > >      To unsubscribe email security-discuss-request@linuxsecurity.com
> > >          with "unsubscribe" in the subject of the message.
> > >
> > >
> > 
> > ------------------------------------------------------------------------
> >      To unsubscribe email security-discuss-request@linuxsecurity.com
> >          with "unsubscribe" in the subject of the message.
> > 
> 
> -- 
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
>  Soheila Khademi
>                                            e-mail: khademy@yahoo.com
>                                                   soheila@maniac.sdc.uwo.ca
>  Network Admin                                    khademi@cc.iut.ac.ir
>  Network Services
>  Center For Information Services  (CIS)    http://www.iut.ac.ir
>  Isfahan University of Technology (IUT)    Tel: 98 31 3915840-1
>  Isfahan, IRAN                             Fax: 98 31 3915805
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> 
> 
> 
> 
> ------------------------------------------------------------------------
>      To unsubscribe email security-discuss-request@linuxsecurity.com
>          with "unsubscribe" in the subject of the message.
> 


__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/
------------------------------------------------------------------------
     To unsubscribe email security-discuss-request@linuxsecurity.com
         with "unsubscribe" in the subject of the message.


[Index of Archives]     [Fedora Announce]     [Linux Crypto]     [Kernel]     [Netfilter]     [Bugtraq]     [USB]     [Fedora Security]

  Powered by Linux