Browse Source

fix config

master
Jared Dunbar 3 years ago
parent
commit
06ac538775
Signed by untrusted user: jared GPG Key ID: CF202CC859BAC692
  1. 29
      common4.conf

29
common4.conf

@ -28,24 +28,14 @@ option arch code 93 = unsigned integer 16;
option rfc3442-classless-static-routes code 121 = array of integer 8;
option ms-classless-static-routes code 249 = array of integer 8;
option option-120 code 120 = string;
option vlan-id code 132 = text;
subnet 128.153.144.0 netmask 255.255.254.0 {
pool {
range 128.153.144.100 128.153.144.254;
failover peer "dhcp-failover";
# options for VoIP phones
if ( substring ( option vendor-class-identifier, 0, 19) = "Grandstream GXP1625") {
# set sip server address
option sip-servers code 120 = { integer 8, ip-address};
option sip-servers 1 10.1.1.1;
# set vlan ID
option vlan-id code 132 = text;
option vlan-id "5";
# QoS (0-7)
# option vlan-qos code 133 = text;
# option vlan-qos "5";
}
# COSI
group {
host cthulhu.cslabs.clarkson.edu { hardware ethernet 4c:cc:6a:fa:dd:86; fixed-address 128.153.144.20; }
@ -101,6 +91,19 @@ subnet 128.153.144.0 netmask 255.255.254.0 {
host itl25.cslabs.clarkson.edu { hardware ethernet 40:a8:f0:41:83:d0; fixed-address 128.153.144.65; }
}
# options for VoIP phones
class "cosi-voip" {
match if ( substring ( option vendor-class-identifier, 0, 19) = "Grandstream GXP1625") {
# set sip server address
option option-120 1 10.1.1.1;
# set vlan ID
option vlan-id "5";
# QoS (0-7)
# option vlan-qos code 133 = text;
# option vlan-qos "5";
}
}
class "cosi-vpnc" {
match if (option agent.circuit-id) = "cosivpnc";
# Set the gateway here as well in case the OS ignores the default router, route regular second floor clients through Geoff

Loading…
Cancel
Save