Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Problem with 2 ethernet card with different subnet mask

  1. #1

    Default Problem with 2 ethernet card with different subnet mask

    Hi,

    I've two groups of PC with two different subnet mask. Between this two groups I've installed a new PC (with OpenSuse) with two ethernet card with the two different subnet mask. With windows I'd have seen this PC in every group, but with openSuse it seems to me that it is impossible. In fact I see that in the start menu appears "Using Eth1" or "Using eth2". Is it possible to use both ethernet together?

    Thank so much.

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,683
    Blog Entries
    4

    Default Re: Problem with 2 ethernet card with different subnet mask

    There is nothing wrong per se with having different masks for different interfaces. And in fact different interfaces must belong to different subnets. How about posting some actual addresses so that we can work out what you really mean? If they are private addresses, you are not exposing yourself to any danger.

  3. #3

    Default Re: Problem with 2 ethernet card with different subnet mask

    Hi, Thank you.. I try.

    I've one subnet like 255.255.255.0 with some PC an the other is 255.255.192.0 with some other. I want to instal one PC which can be seen from both group. So I put the two eth card with two IP and the two subnet. But, as I told, it seems to me that se use only one card for time so this PC can't be seen from one of the two subnet. Is it clear for you? Thank in advance.

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,840

    Default Re: Problem with 2 ethernet card with different subnet mask

    ken_yap asked not only for the acutual masks you are using, but also for the actual addreses. You will have a problem when the two ranges overlap. We can only check that, when we get the full information. Don't be so shy
    Henk van Velden

  5. #5

    Default Re: Problem with 2 ethernet card with different subnet mask

    ah!
    There is so many PC and I don't know the ip adress of everyone. But if you tell me what means "range overlap" I could try to verify in each PC! Are you so kind? Many thank.

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,840

    Default Re: Problem with 2 ethernet card with different subnet mask

    I mean the two addresses you are using on the PC where we are talking about. The one with the two NICs.

    And please give them with the mask that belongs to each, so we do not have to guess which goes with which.
    Henk van Velden

  7. #7

    Default Re: Problem with 2 ethernet card with different subnet mask

    1:
    ip: 192.168.0.210
    sb: 255.255.255.0

    2:
    ip: 192.168.0.211
    sb: 255.255.192.0

    Thank

  8. #8

    Default Re: Problem with 2 ethernet card with different subnet mask

    This can not work, not even with that strange (what is the sense in that?) second netmask (which just creates a _bigger_ range for the second card than for the first one, but still overlapping so how is that supposed to work?).

    Which brings us back to:

    Quote Originally Posted by ken_yap
    And in fact different interfaces must belong to different subnets.

  9. #9
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,840

    Default Re: Problem with 2 ethernet card with different subnet mask

    Quote Originally Posted by digitaldavid View Post
    1:
    ip: 192.168.0.210
    sb: 255.255.255.0

    2:
    ip: 192.168.0.211
    sb: 255.255.192.0

    Thank
    Right. Another notation of the same networks is:
    #1: 192.168.0.0/24
    #2: 192.168.0.0/18
    This means that:
    . network #1 has the addresses ranging from 192.168.0.0 - 192.168.0.255;
    . network #2 has the addresses ranging from 192.168.0.0 - 192.168.63.255.
    and these overlap! #1 is a subnet of #2. Even both IP addresses you use do belong to both networks. How can any router even decide where to go for these addresses?
    Henk van Velden

  10. #10

    Default Re: Problem with 2 ethernet card with different subnet mask

    Sorry, are you so kind to tell me what subnets have I to write and the two range of the PC? Thank You.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •