Пример #1
0
 def InterfaceInfo(self):
     Int = Interface()
     insideip = Int.IP(self.insideint)
     netmask = Int.Netmask(self.insideint)
     broadcast = Int.Broadcast(self.insideint)
     mtu = Int.MTU(self.insideint)
     
     return(insideip, netmask, broadcast, mtu)
Пример #2
0
    def InterfaceInfo(self):
        Interface = Int()
        insideip = Interface.IP(self.lan_int)
        netmask = Interface.Netmask(self.lan_int)
        broadcast = Interface.Broadcast(self.lan_int)
        mtu = Interface.MTU(self.lan_int)

        return(insideip, netmask, broadcast, mtu)