AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-120618

Corwin's questions

Martin Hope
Corwin
Asked: 2012-05-21 12:46:15 +0800 CST

OSPF 路由 (quagga) FreeBSD。路由表不会改变。请帮忙

  • 0

我的实验室工作有问题。我需要用 ospf 提供网络路由。我的网络有以下布局:

网络拓扑结构

所以...当我启动 3 个具有所有工作接口的虚拟机时,一切正常 - 路由表正确,所有连接工作。

但是当我在 R3 机器上放下 IF1 时,120 秒后 R1 和 R2 上的路由表发生了变化。但即使在 1 小时后 R2 上的路由表也没有改变,我在路由到 172.16.3.0 网络时遇到了问题。我知道在 OSPF 中有类似“泛洪”路由的东西 - 第一波变化在 120 秒后发生,下一步 - 在 8-9 分钟后......

请帮助使 ospf 正常工作!

这是 R2 机器的 conf 文件zebra.conf(ospf.conf对于其他机器,所有 conf 都相同,IP 地址、网络、主机名和路由器 ID 除外。

斑马.conf:

hostname Router
password zebra
enable password zebra

interface lo
 description loopback

interface em0
 ip address 192.168.9.3/24
interface em1
 ip address 172.16.2.1/24
interface em2
 ip address 172.16.1.2/24

ospf.conf:

hostname R2
password zebra
enable password zebra

interface em0
 no ip ospf authentication-key
interface em1
 no ip ospf authentication-key
interface em2
 no ip ospf authentication-key

router ospf
 ospf router-id 0.0.0.2
 network 192.168.9.0/24 area 0
 network 172.16.2.0/24 area 0
 network 172.16.1.0/24 area 0
 redistribute connected

注意:对于所有机器 - em0=IF3、em1=IF2、em2=IF3

更新:谢谢...问题已解决。我只是直接添加链接检测...抱歉,我暂时无法投票回答...

freebsd quagga ospf
  • 1 个回答
  • 5106 Views
Martin Hope
Corwin
Asked: 2012-05-11 03:42:10 +0800 CST

Apache2 两个虚拟主机

  • 0

我在一台服务器上有两个虚拟主机:srv-08.zone08.edu:80 tulip.zone08.edu:8088

当我输入 srv-08.zone08.edu:8088 时,我什么也不需要得到。

文件 /etc/apache2/ports.conf:

NameVirtualHost srv-08.zone08.edu:80
NameVirtualHost tulip.zone08.edu:8088
Listen 80
Listen 8088

文件配置 srv-08.zone08.edu(第一行几行):

<VirtualHost srv-08.zone08.edu:80>
  ServerAdmin [email protected]
  ServerName srv-08.zone08.edu
***

文件配置 tulip.zone08.edu(第一行很少):

<VirtualHost tulip.zone08.edu:8088>
  ServerAdmin [email protected]
  ServerName tulip.zone08.edu
***

我认为,更改 VirtualHost(只是)和 NameVirtualHost 就足够了。但这还不够......(这样,其他连接的电脑就看不到我的主机了。有什么想法吗?

配置文件:

<VirtualHost tulip.zone08.edu:8088> 
  ServerAdmin [email protected] 
  ServerName tulip.zone08.edu 
  DocumentRoot /usr/apache 
  ErrorLog /home/usr/apache2.log 

  RewriteEngine on 
  RewriteCond %{HTTP_HOST} srv-08.zone08.edu 
  RewriteRule (.*) http://srv-08.zone08.edu/$1 

  <Directory "/usr/apache"> 
    Options Indexes MultiViews FollowSymLinks 
    AllowOverride None 
    Order deny,allow 
    Deny from all 
    Allow from all 
  </Directory> 
</VirtualHost>

配置是对的。一切正常,除了 RewriteEngine 和正确的主机名

debian apache-2.2
  • 1 个回答
  • 235 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve