30 Jan 2023 03:04 PM
This is what I used on FTTC with a Draytek modem on a USG Pro. Anyone using a USG3 would need to change eth2 to whatever it is on the USG3 for the WAN :
{
"interfaces": {
"ethernet": {
"eth2": {
"dhcp-options": {
"client-option": [
"retry 60;",
"send dhcp-client-identifier "user@skydsl|mypass";"
]
},
"dhcpv6-pd": {
"prefix-only": "''"
}
}
},
"pseudo-ethernet": {
"peth2": {
"address": [
"192.168.2.100/24"
],
"description": "Access to Modem",
"link": "eth2"
}
}
},
"service": {
"nat": {
"rule": {
"5000": {
"destination": {
"address": [
"192.168.2.1"
]
},
"outbound-interface": [
"peth2"
],
"type": "masquerade"
}
}
}
}
}
19 Dec 2023 02:39 PM
Hi all,
apologies to jump in this after 18 months, I have had FTTP installed today and Sky haven't sent me a router.
I have the USG and have tried several attemps at programming the information on this thread no no avail.
Any advice is welcome
19 Dec 2023 04:44 PM
Hi @Maffy-88
To get going straight away SSH the the USG and enter the following
configure
delete interfaces ethernet eth0 address dhcp
commit
set interfaces ethernet eth0 dhcp-options client-option "send dhcp-client-identifier "bacons";"
set interfaces ethernet eth0 address dhcp
commit
save
To preserve this whenever the USG re-provisions you'll need to add the folloing into a file call config.gatewway.json on your controller.
I have a cloud key gen 2 and it's in /usr/lib/unifi/data/sites/default/config.gateway.json
{
"interfaces": {
"ethernet": {
"eth0": {
"address": [
"dhcp"
],
"dhcp-options": {
"client-option": [
"retry 60;",
"send dhcp-client-identifier "bacons";"
],
"default-route": "update",
"default-route-distance": "1",
"name-server": "no-update"
}
}
}
}
}
If you don't have the directory structure you can go to legacy mode and add a floorplan. Save then switch back and the directory structure should be there.
You may need to chown/chmod the file
19 Dec 2023 04:47 PM
Here's some more info on the config.gateway.json file
19 Dec 2023 04:56 PM
Thanks @Doofusburger ! I have been trying for hours. does this look about right?
admin@USG# set interfaces ethernet eth0 dhcp-options client-option "send dhcp-client-identifier "bacons";"
[edit]
admin@USG# commit
save
[edit]
admin@USG# save
Saving configuration to '/config/config.boot'...
Done
[edit]
admin@USG# admin@USG# set interfaces ethernet eth0 dhcp-options client-option "send dhcp-client-identifier "bacons";"
vbash: admin@USG#: command not found
[edit]
admin@USG# [edit]
vbash: [edit]: command not found
[edit]
admin@USG# admin@USG# commit
vbash: admin@USG#: command not found
[edit]
admin@USG# save
Saving configuration to '/config/config.boot'...
Done
[edit]
admin@USG# [edit]
vbash: [edit]: command not found
[edit]
admin@USG# admin@USG# save
19 Dec 2023 05:02 PM
If you were in configure mode it should be ok.
It should
Don't forget to update the config.gateway.json on your controller though as this config will be over-written if the USG is re-provisioned or rebooted.
I don't have any manual settings on the Primary WAN1 Interface apart from my expected speeds
19 Dec 2023 05:06 PM
Thanks.
Still don't seem to have a connection. Don't want to save the JSON file if it's wrong.
19 Dec 2023 06:23 PM
Got it!
Had to pinch a bit of the coding from @Mr+Slant and we are good!
Thanks for your help, I will look at trying to do the JSON file saving when I'm abck tomorrow.
24 Aug 2024 10:49 AM
I know this is an old thread, can I please confirm my understanding.
I have two options:
without SkyTalk
Openreach ONT > USG or UDM
with SkyTalk
Openreach ONT > SkyHub > USG or UDM
is this correct? Do I need a UDM in either option or could I continue to use the USG?
02 Sep 2024 03:35 PM
Posted by a Superuser, not a Sky employee. Find out moreYes that is correct. Note Sky hub doesnt have modem mode so the USG/UDM would have to act as an IP client router or AP, it cant authenticate directly to the line.
28 Oct 2024 11:22 AM
HI,
Could you share the configuration of the USG for both options please :
without SkyTalk
Openreach ONT > USG or UDM > USG24
with SkyTalk
Openreach ONT > SkyHub > USG or UDM > USG24
Thankyou.
I then want to set up vlan that isolate home, work and whitecards....
regards,
Pawiter
28 Oct 2024 01:16 PM
Correction i meant whiteproducts eg tv, oven etc. Thankyou
No problem. Browse or search to find help, or start a new discussion on Community.
On average, new discussions are replied to by our users within 4 hours
New Discussion