找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 287|回复: 8

[求助] 跨VLAN的镜像文件格式支持

[复制链接]
发表于 昨天 10:44 | 显示全部楼层 |阅读模式
最近安装了iVentoy 尝鲜,在尝试跨VLAN进行部署。
我的网络架构是DHCP在爱快IK-S7028MT三层交换机上面172.27.0.253,IVENTOY是放在另外一个VLAN:100.100.100.100
使用的是ExternalNet模式,在三层交换机上面配置了next-server地址为:100.100.100.100
但我发现爱快的交换机不支持IVENTOY的这种格式:
如果是 ExternalNet 模式分别配置为iventoy_loader_16000_bios
爱快的文档我看了一下。仅支持带后缀名的格式文件名




 楼主| 发表于 昨天 11:28 | 显示全部楼层
!
no service password-encryption
!
hostname IK-S7028MT
sysLocation Default
sysContact Default
!
multi config access
!
authentication line console login local
!
!
!
web login privilege open
!
time-range year
 absolute start 00:00:00 2026.1.1 end 00:00:00 2036.1.1
!
!
!
ssh-server enable
!
web language chinese
web-auth privilege 1
!
no telnet-server enable
!
snmp-server enable
snmp-server community rw 0 public
no rmon enable
!
service dhcp
!
ip dhcp excluded-address 166.66.0.1 166.66.0.10
ip dhcp excluded-address 172.27.0.1 172.27.0.10
ip dhcp excluded-address 155.55.0.1 155.55.0.19
ip dhcp excluded-address 144.44.0.1 144.44.0.10
ip dhcp excluded-address 100.100.100.1 100.100.100.10
!
!
ip dhcp pool 100
 network-address 100.100.100.0 255.255.255.0
 default-router 100.100.100.254
 dns-server 223.5.5.5 119.19.19.19
!
ip dhcp pool 144
 network-address 144.44.0.0 255.255.255.0
 default-router 144.44.0.254
 dns-server 100.100.100.100
!
ip dhcp pool 155
 network-address 155.55.0.0 255.255.255.0
 max-lease-time infinite 
 default-router 155.55.0.254
 dns-server 100.100.100.100
 bootfile \iventoy_loader_16000_bios.img;iventoy_loader_16000_uefi.img
 next-server 100.100.100.100
!
ip dhcp pool 166
 network-address 166.66.0.0 255.255.255.0
 max-lease-time infinite 
 default-router 166.66.0.254
 dns-server 100.100.100.100
 option 43 hex 0104AC1B00FE
!
ip dhcp pool 172
 network-address 172.27.0.0 255.255.255.0
 default-router 172.27.0.253
 dns-server 223.5.5.5 119.19.19.19
 bootfile iventoy_loader_16000.img
 next-server 100.100.100.100
!
ip dhcp pool 192
 network-address 192.168.254.0 255.255.255.0
 max-lease-time infinite 
 default-router 192.168.254.1
 dns-server 100.100.100.100
!
!
!
!
!
!
!
!
ip domain-lookup
!
dns-server 114.114.114.114 priority 1
dns-server 223.5.5.5
!
!
vlan 1;100;144;155;166;192 
!
access-list 144 deny ip 144.44.0.0 255.255.255.0 172.27.0.0 255.255.255.0 time-range year
access-list 155 deny ip 155.55.0.0 255.255.255.0 172.27.0.0 255.255.255.0 time-range year
access-list 192 deny ip 192.168.254.0 255.255.255.0 172.27.0.0 255.255.255.0 time-range year
!
vacl ip access-group 155 in vlan 155
vacl ip access-group 144 in vlan 144
vacl ip access-group 192 in vlan 192
!
Interface Ethernet1/0/1
 loopback-detection specified-vlan 1-4094
 loopback-detection control block
!
Interface Ethernet1/0/2
 loopback-detection specified-vlan 1-4094
 loopback-detection control block
!
Interface Ethernet1/0/3
 loopback-detection specified-vlan 1-4094
 loopback-detection control block
!
Interface Ethernet1/0/4
 loopback-detection specified-vlan 1-4094
 loopback-detection control block
!
Interface Ethernet1/0/5
 loopback-detection specified-vlan 1-4094
 loopback-detection control block
!
Interface Ethernet1/0/6
 loopback-detection specified-vlan 1-4094
 loopback-detection control block
!
Interface Ethernet1/0/7
 loopback-detection specified-vlan 1-4094
 loopback-detection control block
!
Interface Ethernet1/0/8
 loopback-detection specified-vlan 1-4094
 loopback-detection control block
!
Interface Ethernet1/0/9
 loopback-detection specified-vlan 1-4094
 loopback-detection control block
!
Interface Ethernet1/0/10
 loopback-detection specified-vlan 1-4094
 loopback-detection control block
!
Interface Ethernet1/0/11
 loopback-detection specified-vlan 1-4094
 loopback-detection control block
!
Interface Ethernet1/0/12
 loopback-detection specified-vlan 1-4094
 loopback-detection control block
!
Interface Ethernet1/0/13
 loopback-detection specified-vlan 1-4094
 loopback-detection control block
!
Interface Ethernet1/0/14
 loopback-detection specified-vlan 1-4094
 loopback-detection control block
!
Interface Ethernet1/0/15
 loopback-detection specified-vlan 1-4094
 loopback-detection control block
!
Interface Ethernet1/0/16
 switchport access vlan 100
 loopback-detection specified-vlan 1-4094
 loopback-detection control block
!
Interface Ethernet1/0/17
 switchport access vlan 155
 loopback-detection specified-vlan 1-4094
 loopback-detection control block
!
Interface Ethernet1/0/18
 switchport access vlan 155
 loopback-detection specified-vlan 1-4094
 loopback-detection control block
!
Interface Ethernet1/0/19
 switchport access vlan 155
 loopback-detection specified-vlan 1-4094
 loopback-detection control block
!
Interface Ethernet1/0/20
 switchport access vlan 155
 loopback-detection specified-vlan 1-4094
 loopback-detection control block
!
Interface Ethernet1/0/21
 switchport access vlan 166
 loopback-detection specified-vlan 1-4094
 loopback-detection control block
!
Interface Ethernet1/0/22
 switchport access vlan 192
 loopback-detection specified-vlan 1-4094
 loopback-detection control block
!
Interface Ethernet1/0/23
 switchport access vlan 144
 loopback-detection specified-vlan 1-4094
 loopback-detection control block
!
Interface Ethernet1/0/24
 switchport mode trunk
 switchport trunk allowed vlan 1;100;144;155;166;192 
 loopback-detection specified-vlan 1-4094
 loopback-detection control block
!
Interface Ethernet1/0/25
 loopback-detection specified-vlan 1-4094
 loopback-detection control block
!
Interface Ethernet1/0/26
 loopback-detection specified-vlan 1-4094
 loopback-detection control block
!
Interface Ethernet1/0/27
 loopback-detection specified-vlan 1-4094
 loopback-detection control block
!
Interface Ethernet1/0/28
 loopback-detection specified-vlan 1-4094
 loopback-detection control block
!
interface Vlan1
 ip address 172.27.0.253 255.255.255.0
!
interface Vlan100
 ip address 100.100.100.254 255.255.255.0
!
interface Vlan144
 ip address 144.44.0.254 255.255.255.0
!
interface Vlan155
 ip address 155.55.0.254 255.255.255.0
!
interface Vlan166
 ip address 166.66.0.254 255.255.255.0
!
interface Vlan192
 ip address 192.168.254.1 255.255.255.0
!
ip route 0.0.0.0/0 172.27.0.254
!
ntp enable
ntp server 172.27.0.254
!
no login
!
ip mqtt looppulltime 300
ip mqtt boundcode c28138bef189e3954c3ea039ace95b19
ip mqtt loopdetect enable
end
回复

使用道具 举报

发表于 昨天 12:05 | 显示全部楼层
不了解,帮顶
回复

使用道具 举报

发表于 昨天 13:00 | 显示全部楼层
有技术的帖子
回复

使用道具 举报

发表于 昨天 14:36 | 显示全部楼层
谢谢了。
回复

使用道具 举报

发表于 昨天 16:57 | 显示全部楼层
有点头晕
回复

使用道具 举报

发表于 昨天 20:11 | 显示全部楼层
本帖最后由 longpanda 于 2026-9-10 20:24 编辑

没看明白,是说要求文件名里面必须得有后缀名? 比如 abc.bin  abc.img 这样? 光有名字没有后缀名就设置不下去? 还要不要求有前级目录?

还是说要求这个文件必须在这个交换机的系统内存在?


回复

使用道具 举报

发表于 昨天 20:31 | 显示全部楼层
不错的分享,顶一个。
回复

使用道具 举报

发表于 昨天 22:15 | 显示全部楼层
感谢分享,学习了!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1|闽公网安备35020302032614号 )

GMT+8, 2026-9-11 06:06

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表