Re: 2NIC's on same network, possible?

From: chris halverson (darusint_at_hotmail.com)
Date: 07/29/03

  • Next message: Salvatore Poliandro: "Re: \xe7y~REg9\xe0\xe0%\xc9\x02 in HTTPd log"
    To: justinpryzby@users.sf.net
    Date: Tue, 29 Jul 2003 11:52:28 -0600
    
    

    Ok, I had never seen it put in that way before. I had known about the /32
    bit notation, but I had only seen the /e used as a netmask on the address.
    Whereas /25 would be 255.255.255.128 in decimal notation. So I had never
    seen it referred to 2**8 - 1 before.

    Chris

    >From: Justin Pryzby <justinpryzby@users.sf.net>
    >To: chris halverson <darusint@hotmail.com>,
    >security-basics@securityfocus.com
    >Subject: Re: 2NIC's on same network, possible?
    >Date: Tue, 29 Jul 2003 10:36:57 -0700
    >
    >a.b.c.d/e is a "new" notation ("CIDR") used to identify a netblock. It
    >identifies a network beginning at a.b.c.d where e bytes are the network
    >portion. There's an RFC that covers this in depth, but the old-style
    >A,B,C networks are /8, /16, /24 respectively. A slight
    >overapproximation of the maximum number of hosts on a /e network is
    >2**(31-e). An IP address is 32 bits, e of which identify the network.
    >So, 32-e of them identify the host. There are 2**n possible ways to set
    >n bits (and the maximum value of n bits is 2**(n-1)).
    >
    >Probably the other post was right and your friend has used a netmask
    >appropriate for a /e network.
    >
    >Justin
    >
    >On Tue, Jul 29, 2003 at 08:25:03PM +0000, chris halverson wrote:
    > >
    > > I am not sure what you are asking when you refer to the 2**8 - 1
    >addresses.
    > > Can you clarify?
    > >
    > >
    > >
    > > >From: Justin Pryzby <justinpryzby@users.sf.net>
    > > >To: Vineet Mehta
    ><vineet@linux.com.kw>,security-basics@securityfocus.com
    > > >Subject: Re: 2NIC's on same network, possible?
    > > >Date: Mon, 28 Jul 2003 17:08:37 -0700
    > > >
    > > >That should definitely be possible, though I don't know how it will
    > > >decide which NIC to use for what. What do you mean '192.168.0.6/24'? A
    > > >NIC has an address, and that notation represents 2**8 - 1 addresses.
    > > >Justin
    > > >
    > > >On Tue, Jul 29, 2003 at 03:04:04AM +0000, Vineet Mehta wrote:
    > > > >
    > > > >
    > > > > Hi all,
    > > > >
    > > > > My collegue has a Linux machine which has 2 NIC's on it. What he did
    >was
    > > > > assign the IP's 192.168.0.6/24 and 192.168.0.7/24 to the NIC's. And
    >he
    > > > > was trying to ping the network but was getting errors (i dont know
    >the
    > > > > errors).
    > > >
    > >
    > >---------------------------------------------------------------------------
    > >
    > >----------------------------------------------------------------------------
    > > >
    > >
    > > _________________________________________________________________
    > > Tired of spam? Get advanced junk mail protection with MSN 8.
    > > http://join.msn.com/?page=features/junkmail
    > >

    _________________________________________________________________
    Add photos to your e-mail with MSN 8. Get 2 months FREE*.
    http://join.msn.com/?page=features/featuredemail

    ---------------------------------------------------------------------------
    ----------------------------------------------------------------------------


  • Next message: Salvatore Poliandro: "Re: \xe7y~REg9\xe0\xe0%\xc9\x02 in HTTPd log"

    Relevant Pages

    • Re: IP range to CIDR list VB6 utility?
      ... a LIST in that notation format. ... building of the CIDR *list* that's driving me bonkers. ... For the example range of 217.224.0.0 through 217.237.161.47 that network ... iterations (this number of iterations varies depending on the address ...
      (microsoft.public.vb.general.discussion)
    • Re: multiple interfaces on same subnet?
      ... netmask with ifconfig rather than the CIDR / notation: ... other hosts on the network will. ... configure this kind of invalid subnet. ...
      (freebsd-questions)
    • Re: Best protocol for Ethernet between OS-X and OS/2?
      ... It's really the netmask notation which is the anachronism and it only ... survives because so many network config utilities still use it. ... It's particularly useful when you are aggregating subnets for a route or ...
      (uk.comp.sys.mac)
    • Re: 192.168.0.1/24
      ... notation than having to write out the whole subnet mask ... network address and 255 being the broadcast address) ... To unsubscribe, ...
      (freebsd-questions)
    • Re: multi-homed systems stop answering ARP on local addresses w/ifconfig aliases
      ... the system will stop answering ARP on some of its own addresses and hence anything on that network completely stops functioning. ... inet 10.11.185.146 netmask 0xfffffff8 broadcast 10.11.185.151 ...
      (freebsd-net)

  • Quantcast