Link to home
Start Free TrialLog in
Avatar of stmpunix
stmpunix

asked on

How can I cross check a large list of server ip and netmask addresses against a large list of VLAN addresses?

Not being hot on networking, as is usual my boss gave me this task.
I have a large number of inventorized server addresses and another list of vlan addresses, each list has their netmasks. I need to cross check the list of servers addresses against the VLAN addresses to determine which of the servers are in the VLAN.
Can anyone help me out with a script that I can use?
Avatar of Todd Mummert
Todd Mummert


examples of the lists you're using?  there's multiple ways to express netmasks and subnets

Avatar of stmpunix

ASKER

Apologies, the lists are in the following notation.
SERVER List    255.255.255.0 10.66.52.40 or  10.66.52.0/24
DMZ DMZ List 10.66.28.96/27  255.255.255.224
To say that I am confused with this is an understatement.
is this the server or the VLAN list?
ASKER CERTIFIED SOLUTION
Avatar of stmpunix
stmpunix

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial